From d6d8f11ed85e49f7d7dcac326cad3988e8cec358 Mon Sep 17 00:00:00 2001 From: Zach Couchman Date: Wed, 22 Nov 2023 19:13:04 -0500 Subject: [PATCH] WT-1927 - export checkoutSdk as checkout now (#1181) Co-authored-by: Zach Couchman --- packages/checkout/sdk/typedoc.json | 2 +- sdk/module-release.json | 4 ++-- sdk/package.json | 6 +++--- sdk/src/{checkout_sdk.ts => checkout.ts} | 0 sdk/src/index.ts | 2 +- typedoc.json | 1 - 6 files changed, 7 insertions(+), 8 deletions(-) rename sdk/src/{checkout_sdk.ts => checkout.ts} (100%) diff --git a/packages/checkout/sdk/typedoc.json b/packages/checkout/sdk/typedoc.json index ed5b432f9c..f8f369d14c 100644 --- a/packages/checkout/sdk/typedoc.json +++ b/packages/checkout/sdk/typedoc.json @@ -1,5 +1,5 @@ { "extends": ["../../../typedoc.base.json"], "entryPoints": ["src/index.ts"], - "name": "checkout-sdk", + "name": "checkout", } diff --git a/sdk/module-release.json b/sdk/module-release.json index cc751cc69b..40d4ddc3cd 100644 --- a/sdk/module-release.json +++ b/sdk/module-release.json @@ -13,7 +13,7 @@ "passport": "prod", "orderbook": "prod", "provider": "prod", - "checkout_sdk": "prod" + "checkout": "prod" }, "fileCopy": [ { @@ -27,4 +27,4 @@ "stage": "prod" } ] -} +} \ No newline at end of file diff --git a/sdk/package.json b/sdk/package.json index 1d4c7d96e7..eb6d98c7d5 100644 --- a/sdk/package.json +++ b/sdk/package.json @@ -103,9 +103,9 @@ "types": "./dist/provider.d.ts", "import": "./dist/provider.js" }, - "./checkout_sdk": { - "types": "./dist/checkout_sdk.d.ts", - "import": "./dist/checkout_sdk.js" + "./checkout": { + "types": "./dist/checkout.d.ts", + "import": "./dist/checkout.js" } }, "files": [ diff --git a/sdk/src/checkout_sdk.ts b/sdk/src/checkout.ts similarity index 100% rename from sdk/src/checkout_sdk.ts rename to sdk/src/checkout.ts diff --git a/sdk/src/index.ts b/sdk/src/index.ts index 3641a63980..fa5c47888e 100644 --- a/sdk/src/index.ts +++ b/sdk/src/index.ts @@ -4,4 +4,4 @@ export * as immutablexClient from './immutablex_client'; export * as passport from './passport'; export * as orderbook from './orderbook'; export * as provider from './provider'; -export * as checkoutSdk from './checkout_sdk'; +export * as checkout from './checkout'; diff --git a/typedoc.json b/typedoc.json index a300ba7cd1..fc9d7b032c 100644 --- a/typedoc.json +++ b/typedoc.json @@ -3,7 +3,6 @@ "sdk/", "packages/blockchain-data/sdk/", "packages/checkout/sdk/", - "packages/checkout/widgets/", "packages/config/", "packages/economy/sdk/", "packages/immutablex_client/",