@compilot/js-sdk 2.21.4-dev → 2.21.5-staging
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/compilot-js-sdk.cjs.dev.js +2 -1
- package/dist/compilot-js-sdk.cjs.prod.js +2 -1
- package/dist/compilot-js-sdk.esm.js +2 -1
- package/dist/declarations/src/actions/getCustomerStatusByWallet.d.ts +2 -1
- package/dist/declarations/src/actions/getCustomerStatusByWallet.d.ts.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +5 -5
|
@@ -876,7 +876,8 @@ var getCustomerStatusByWalletFactory = function getCustomerStatusByWalletFactory
|
|
|
876
876
|
_context.next = 2;
|
|
877
877
|
return deps.compilotApiClient.customers.publicRouterCustomerRouterGetCustomerByProjectAndWalletAddress({
|
|
878
878
|
address: params.walletAddress,
|
|
879
|
-
cmsProjectId: params.workspaceId
|
|
879
|
+
cmsProjectId: params.workspaceId,
|
|
880
|
+
type: params.type
|
|
880
881
|
});
|
|
881
882
|
case 2:
|
|
882
883
|
customer = _context.sent;
|
|
@@ -876,7 +876,8 @@ var getCustomerStatusByWalletFactory = function getCustomerStatusByWalletFactory
|
|
|
876
876
|
_context.next = 2;
|
|
877
877
|
return deps.compilotApiClient.customers.publicRouterCustomerRouterGetCustomerByProjectAndWalletAddress({
|
|
878
878
|
address: params.walletAddress,
|
|
879
|
-
cmsProjectId: params.workspaceId
|
|
879
|
+
cmsProjectId: params.workspaceId,
|
|
880
|
+
type: params.type
|
|
880
881
|
});
|
|
881
882
|
case 2:
|
|
882
883
|
customer = _context.sent;
|
|
@@ -874,7 +874,8 @@ var getCustomerStatusByWalletFactory = function getCustomerStatusByWalletFactory
|
|
|
874
874
|
_context.next = 2;
|
|
875
875
|
return deps.compilotApiClient.customers.publicRouterCustomerRouterGetCustomerByProjectAndWalletAddress({
|
|
876
876
|
address: params.walletAddress,
|
|
877
|
-
cmsProjectId: params.workspaceId
|
|
877
|
+
cmsProjectId: params.workspaceId,
|
|
878
|
+
type: params.type
|
|
878
879
|
});
|
|
879
880
|
case 2:
|
|
880
881
|
customer = _context.sent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NexeraAPIClient } from "@nexeraid/api-client";
|
|
2
|
-
import type { CustomerStatus } from "@nexeraid/identity-schemas";
|
|
2
|
+
import type { CustomerStatus, CustomerType } from "@nexeraid/identity-schemas";
|
|
3
3
|
/**
|
|
4
4
|
* Get the status of a customer by their wallet address
|
|
5
5
|
*
|
|
@@ -22,6 +22,7 @@ import type { CustomerStatus } from "@nexeraid/identity-schemas";
|
|
|
22
22
|
export type GetCustomerStatusByWalletFn = (params: {
|
|
23
23
|
walletAddress: string;
|
|
24
24
|
workspaceId: string;
|
|
25
|
+
type: CustomerType;
|
|
25
26
|
}) => Promise<CustomerStatus | null>;
|
|
26
27
|
/** @hidden */
|
|
27
28
|
export declare const getCustomerStatusByWalletFactory: (deps: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCustomerStatusByWallet.d.ts","sourceRoot":"../../../../src/actions","sources":["getCustomerStatusByWallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;
|
|
1
|
+
{"version":3,"file":"getCustomerStatusByWallet.d.ts","sourceRoot":"../../../../src/actions","sources":["getCustomerStatusByWallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAE/E;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,2BAA2B,GAAG,CAAC,MAAM,EAAE;IACjD,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,YAAY,CAAC;CACpB,KAAK,OAAO,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC;AAErC,cAAc;AACd,eAAO,MAAM,gCAAgC,SACpC;IAAE,iBAAiB,EAAE,eAAe,CAAA;CAAE,KAAG,2BAW/C,CAAC"}
|
package/dist/package.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compilot/js-sdk",
|
|
3
|
-
"version": "2.21.
|
|
3
|
+
"version": "2.21.5-staging",
|
|
4
4
|
"description": "ComPilot JS SDK",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "ISC",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"pino": "^9.5.0",
|
|
35
35
|
"svix": "1.21.0",
|
|
36
36
|
"zod": "^3.23.8",
|
|
37
|
-
"@nexeraid/api-client": "2.15.1-
|
|
38
|
-
"@nexeraid/identity-api-client": "2.21.1-
|
|
39
|
-
"@nexeraid/identity-schemas": "2.24.0-
|
|
40
|
-
"@nexeraid/logger": "2.21.1-
|
|
37
|
+
"@nexeraid/api-client": "2.15.1-staging",
|
|
38
|
+
"@nexeraid/identity-api-client": "2.21.1-staging",
|
|
39
|
+
"@nexeraid/identity-schemas": "2.24.0-staging",
|
|
40
|
+
"@nexeraid/logger": "2.21.1-staging"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"prettier": "^3.3.3",
|