@01.software/sdk 0.34.0 → 0.36.0
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/client.cjs +1 -1
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +6 -6
- package/dist/client.d.ts +6 -6
- package/dist/client.js +1 -1
- package/dist/client.js.map +1 -1
- package/dist/{collection-client-DkREjhQ9.d.ts → collection-client-Bq5Zd7p7.d.ts} +3 -3
- package/dist/{collection-client-CR2B8c1v.d.cts → collection-client-Cv0D2w1Q.d.cts} +3 -3
- package/dist/{const-CdqCauHQ.d.ts → const-BDUKFP9w.d.ts} +1 -1
- package/dist/{const-BTvdrXtY.d.cts → const-DVcM7Ac_.d.cts} +1 -1
- package/dist/errors.cjs +300 -0
- package/dist/errors.cjs.map +1 -0
- package/dist/{index-BGEhoDUs.d.cts → errors.d.cts} +13 -1
- package/dist/{index-BGEhoDUs.d.ts → errors.d.ts} +13 -1
- package/dist/errors.js +277 -0
- package/dist/errors.js.map +1 -0
- package/dist/{index-CjA3U6X3.d.cts → index-BHDKJ6B3.d.cts} +3 -3
- package/dist/{index-DK8_NXkh.d.ts → index-DTSXUYkr.d.ts} +3 -3
- package/dist/index.cjs +58 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +58 -5
- package/dist/index.js.map +1 -1
- package/dist/{payload-types-C7tb7Xbs.d.cts → payload-types-BCui2Oml.d.cts} +0 -20
- package/dist/{payload-types-C7tb7Xbs.d.ts → payload-types-BCui2Oml.d.ts} +0 -20
- package/dist/query.cjs +1 -1
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +6 -6
- package/dist/query.d.ts +6 -6
- package/dist/query.js +1 -1
- package/dist/query.js.map +1 -1
- package/dist/realtime.d.cts +2 -2
- package/dist/realtime.d.ts +2 -2
- package/dist/server.cjs +16 -1
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +7 -7
- package/dist/server.d.ts +7 -7
- package/dist/server.js +16 -1
- package/dist/server.js.map +1 -1
- package/dist/{types-1ylMrCuW.d.ts → types-3qV6sY7T.d.ts} +1 -1
- package/dist/{types-Bx558PU6.d.cts → types-CEzLf3PX.d.cts} +1 -1
- package/dist/{types-Byo_Rty4.d.ts → types-DK9EnLwJ.d.ts} +83 -17
- package/dist/{types-DDhtZI6E.d.cts → types-Dib-zdK6.d.cts} +83 -17
- package/dist/ui/form.d.cts +1 -1
- package/dist/ui/form.d.ts +1 -1
- package/dist/ui/video.d.cts +1 -1
- package/dist/ui/video.d.ts +1 -1
- package/dist/webhook.d.cts +4 -4
- package/dist/webhook.d.ts +4 -4
- package/package.json +11 -1
package/dist/client.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { R as ReadOnlyCollectionClient } from './collection-client-
|
|
2
|
-
import { C as CommerceClient, a as CommunityClient, E as EventsClient, b as CustomerNamespace, c as ClientState, d as ClientConfig } from './types-
|
|
3
|
-
export { A as ApiQueryOptions, e as ClientMetadata, D as DebugConfig, f as DeepPartial, g as ExtractArrayType, P as PayloadFindResponse, h as PayloadMutationResponse, R as RetryConfig, i as RootClient, i as RootClientType, j as RootCollectionClient, k as RootReadOnlyQueryBuilder, S as Sort, W as Where } from './types-
|
|
4
|
-
export { C as Collection, P as PublicCollection } from './const-
|
|
1
|
+
import { R as ReadOnlyCollectionClient } from './collection-client-Cv0D2w1Q.cjs';
|
|
2
|
+
import { C as CommerceClient, a as CommunityClient, E as EventsClient, b as CustomerNamespace, c as ClientState, d as ClientConfig } from './types-Dib-zdK6.cjs';
|
|
3
|
+
export { A as ApiQueryOptions, e as ClientMetadata, D as DebugConfig, f as DeepPartial, g as ExtractArrayType, P as PayloadFindResponse, h as PayloadMutationResponse, R as RetryConfig, i as RootClient, i as RootClientType, j as RootCollectionClient, k as RootReadOnlyQueryBuilder, S as Sort, W as Where } from './types-Dib-zdK6.cjs';
|
|
4
|
+
export { C as Collection, P as PublicCollection } from './const-DVcM7Ac_.cjs';
|
|
5
5
|
import './metadata.cjs';
|
|
6
|
-
import './types-
|
|
7
|
-
import './payload-types-
|
|
6
|
+
import './types-CEzLf3PX.cjs';
|
|
7
|
+
import './payload-types-BCui2Oml.cjs';
|
|
8
8
|
|
|
9
9
|
declare class Client {
|
|
10
10
|
commerce: CommerceClient;
|
package/dist/client.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { R as ReadOnlyCollectionClient } from './collection-client-
|
|
2
|
-
import { C as CommerceClient, a as CommunityClient, E as EventsClient, b as CustomerNamespace, c as ClientState, d as ClientConfig } from './types-
|
|
3
|
-
export { A as ApiQueryOptions, e as ClientMetadata, D as DebugConfig, f as DeepPartial, g as ExtractArrayType, P as PayloadFindResponse, h as PayloadMutationResponse, R as RetryConfig, i as RootClient, i as RootClientType, j as RootCollectionClient, k as RootReadOnlyQueryBuilder, S as Sort, W as Where } from './types-
|
|
4
|
-
export { C as Collection, P as PublicCollection } from './const-
|
|
1
|
+
import { R as ReadOnlyCollectionClient } from './collection-client-Bq5Zd7p7.js';
|
|
2
|
+
import { C as CommerceClient, a as CommunityClient, E as EventsClient, b as CustomerNamespace, c as ClientState, d as ClientConfig } from './types-DK9EnLwJ.js';
|
|
3
|
+
export { A as ApiQueryOptions, e as ClientMetadata, D as DebugConfig, f as DeepPartial, g as ExtractArrayType, P as PayloadFindResponse, h as PayloadMutationResponse, R as RetryConfig, i as RootClient, i as RootClientType, j as RootCollectionClient, k as RootReadOnlyQueryBuilder, S as Sort, W as Where } from './types-DK9EnLwJ.js';
|
|
4
|
+
export { C as Collection, P as PublicCollection } from './const-BDUKFP9w.js';
|
|
5
5
|
import './metadata.js';
|
|
6
|
-
import './types-
|
|
7
|
-
import './payload-types-
|
|
6
|
+
import './types-3qV6sY7T.js';
|
|
7
|
+
import './payload-types-BCui2Oml.js';
|
|
8
8
|
|
|
9
9
|
declare class Client {
|
|
10
10
|
commerce: CommerceClient;
|
package/dist/client.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/core/collection/http-client.ts
|
|
2
2
|
import { stringify } from "qs-esm";
|
|
3
3
|
|
|
4
|
-
// src/core/
|
|
4
|
+
// src/core/errors.ts
|
|
5
5
|
var SDKError = class extends Error {
|
|
6
6
|
constructor(code, message, status, details, userMessage, suggestion, requestId) {
|
|
7
7
|
super(message);
|