@medusajs/js-sdk 2.6.0-snapshot-20250221164338 → 3.0.0-preview-20250211091350
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/admin/index.d.ts +0 -5
- package/dist/admin/index.d.ts.map +1 -1
- package/dist/admin/index.js.map +1 -1
- package/dist/admin/product.d.ts +1 -2
- package/dist/admin/product.d.ts.map +1 -1
- package/dist/admin/product.js +1 -2
- package/dist/admin/product.js.map +1 -1
- package/dist/client.d.ts +8 -9
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +48 -67
- package/dist/client.js.map +1 -1
- package/dist/esm/admin/index.d.ts +0 -5
- package/dist/esm/admin/index.d.ts.map +1 -1
- package/dist/esm/admin/index.js.map +1 -1
- package/dist/esm/admin/product.d.ts +1 -2
- package/dist/esm/admin/product.d.ts.map +1 -1
- package/dist/esm/admin/product.js +1 -2
- package/dist/esm/admin/product.js.map +1 -1
- package/dist/esm/client.d.ts +8 -9
- package/dist/esm/client.d.ts.map +1 -1
- package/dist/esm/client.js +63 -97
- package/dist/esm/client.js.map +1 -1
- package/dist/esm/types.d.ts +1 -8
- package/dist/esm/types.d.ts.map +1 -1
- package/dist/types.d.ts +1 -8
- package/dist/types.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/admin/draft-order.d.ts +0 -146
- package/dist/admin/draft-order.d.ts.map +0 -1
- package/dist/admin/draft-order.js +0 -169
- package/dist/admin/draft-order.js.map +0 -1
- package/dist/esm/admin/draft-order.d.ts +0 -146
- package/dist/esm/admin/draft-order.d.ts.map +0 -1
- package/dist/esm/admin/draft-order.js +0 -182
- package/dist/esm/admin/draft-order.js.map +0 -1
package/dist/admin/index.d.ts
CHANGED
@@ -5,7 +5,6 @@ import { Claim } from "./claim";
|
|
5
5
|
import { Currency } from "./currency";
|
6
6
|
import { Customer } from "./customer";
|
7
7
|
import { CustomerGroup } from "./customer-group";
|
8
|
-
import { DraftOrder } from "./draft-order";
|
9
8
|
import { Exchange } from "./exchange";
|
10
9
|
import { Fulfillment } from "./fulfillment";
|
11
10
|
import { FulfillmentProvider } from "./fulfillment-provider";
|
@@ -126,10 +125,6 @@ export declare class Admin {
|
|
126
125
|
* @tags order
|
127
126
|
*/
|
128
127
|
order: Order;
|
129
|
-
/**
|
130
|
-
* @tags draft order
|
131
|
-
*/
|
132
|
-
draftOrder: DraftOrder;
|
133
128
|
/**
|
134
129
|
* @tags order
|
135
130
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/admin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/admin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,E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,CAAA;IACvC;;OAEG;IACI,aAAa,EAAE,aAAa,CAAA;IACnC;;OAEG;IACI,YAAY,EAAE,YAAY,CAAA;IACjC;;OAEG;IACI,KAAK,EAAE,KAAK,CAAA;IACnB;;OAEG;IACI,SAAS,EAAE,SAAS,CAAA;IAC3B;;OAEG;IACI,MAAM,EAAE,MAAM,CAAA;IACrB;;OAEG;IACI,KAAK,EAAE,KAAK,CAAA;IACnB;;OAEG;IACI,QAAQ,EAAE,QAAQ,CAAA;IACzB;;OAEG;IACI,OAAO,EAAE,OAAO,CAAA;IACvB;;OAEG;IACI,SAAS,EAAE,SAAS,CAAA;IAC3B;;OAEG;IACI,KAAK,EAAE,KAAK,CAAA;IACnB;;OAEG;IACI,UAAU,EAAE,UAAU,CAAA;IAC7B;;OAEG;IACI,IAAI,EAAE,IAAI,CAAA;IACjB;;OAEG;IACI,QAAQ,EAAE,QAAQ,CAAA;IACzB;;OAEG;IACI,OAAO,EAAE,OAAO,CAAA;IACvB;;OAEG;IACI,cAAc,EAAE,cAAc,CAAA;IACrC;;OAEG;IACI,YAAY,EAAE,YAAY,CAAA;IACjC;;OAEG;IACI,iBAAiB,EAAE,iBAAiB,CAAA;IAC3C;;OAEG;IACI,MAAM,EAAE,MAAM,CAAA;IACrB;;OAEG;IACI,iBAAiB,EAAE,iBAAiB,CAAA;IAC3C;;OAEG;IACI,WAAW,EAAE,WAAW,CAAA;IAC/B;;OAEG;IACI,aAAa,EAAE,aAAa,CAAA;IACnC;;OAEG;IACI,SAAS,EAAE,SAAS,CAAA;IAC3B;;OAEG;IACI,QAAQ,EAAE,QAAQ,CAAA;gBAEb,MAAM,EAAE,MAAM;CA2C3B"}
|
package/dist/admin/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/admin/index.ts"],"names":[],"mappings":";;;;;;AACA,uCAAkC;AAClC,yCAAqC;AACrC,mCAA+B;AAC/B,yCAAqC;AACrC,yCAAqC;AAC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,CAAC,EAAE,YAAY,EACpB,OAAO,CAAC,EAAE,aAAa;IAazB;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACG,YAAY,CAChB,SAAS,EAAE,MAAM,EACjB,IAAI,EAAE,SAAS,CAAC,wBAAwB,EACxC,KAAK,CAAC,EAAE,YAAY,EACpB,OAAO,CAAC,EAAE,aAAa;IAazB;;;;;;;;;;;;;;;;;;;;;;;OAuBG;IACG,YAAY,CAChB,SAAS,EAAE,MAAM,EACjB,EAAE,EAAE,MAAM,EACV,IAAI,EAAE,SAAS,CAAC,wBAAwB,EACxC,KAAK,CAAC,EAAE,YAAY,EACpB,OAAO,CAAC,EAAE,aAAa;IAazB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACG,WAAW,CACf,SAAS,EAAE,MAAM,EACjB,KAAK,CAAC,EAAE,SAAS,CAAC,wBAAwB,EAC1C,OAAO,CAAC,EAAE,aAAa;IAWzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACG,cAAc,CAClB,SAAS,EAAE,MAAM,EACjB,EAAE,EAAE,MAAM,EACV,KAAK,CAAC,EAAE,YAAY,EACpB,OAAO,CAAC,EAAE,aAAa;IAWzB;;;;;;;;;;;;;;;OAeG;IACG,YAAY,CAAC,SAAS,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,aAAa;CAS1E"}
|
package/dist/admin/product.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"product.js","sourceRoot":"","sources":["../../src/admin/product.ts"],"names":[],"mappings":";;;AAIA,MAAa,OAAO;IAKlB;;OAEG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAA;IACtB,CAAC;IAED;;;;;;;;;;;;;;;;;;;;OAoBG;IACH,KAAK,CAAC,MAAM,CACV,IAAyC,EACzC,KAAU,EACV,OAAuB;QAEvB,MAAM,IAAI,GAAG,IAAI,QAAQ,EAAE,CAAA;QAC3B,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;QAE9B,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,wBAAwB,EACxB;YACE,MAAM,EAAE,MAAM;YACd,OAAO,EAAE;gBACP,GAAG,OAAO;gBACV,8CAA8C;gBAC9C,cAAc,EAAE,IAAI;aACrB;YACD,IAAI,EAAE,IAAI;YACV,KAAK;SACN,CACF,CAAA;IACH,CAAC;IAED;;;;;;;;;;;;;;;;OAgBG;IACH,KAAK,CAAC,aAAa,CACjB,aAAqB,EACrB,KAAU,EACV,OAAuB;QAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,0BAA0B,aAAa,UAAU,EACjD;YACE,MAAM,EAAE,MAAM;YACd,OAAO;YACP,IAAI,EAAE,EAAE;YACR,KAAK;SACN,CACF,CAAA;IACH,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACH,KAAK,CAAC,MAAM,CACV,IAAyC,EACzC,KAAwC,EACxC,OAAuB;QAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,wBAAwB,EACxB;YACE,MAAM,EAAE,MAAM;YACd,OAAO;YACP,IAAI;YACJ,KAAK;SACN,CACF,CAAA;IACH,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACH,KAAK,CAAC,KAAK,CACT,IAAwC,EACxC,KAAoB,EACpB,OAAuB;QAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,uBAAuB,EACvB;YACE,MAAM,EAAE,MAAM;YACd,OAAO;YACP,IAAI;YACJ,KAAK;SACN,CACF,CAAA;IACH,CAAC;IAED
|
1
|
+
{"version":3,"file":"product.js","sourceRoot":"","sources":["../../src/admin/product.ts"],"names":[],"mappings":";;;AAIA,MAAa,OAAO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ACV,IAAwC,EACxC,KAAoB,EACpB,OAAuB;QAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,mBAAmB,SAAS,YAAY,EAAE,EAAE,EAC5C;YACE,MAAM,EAAE,MAAM;YACd,OAAO;YACP,IAAI;YACJ,KAAK;SACN,CACF,CAAA;IACH,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACH,KAAK,CAAC,WAAW,CACf,SAAiB,EACjB,KAA0C,EAC1C,OAAuB;QAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,mBAAmB,SAAS,UAAU,EACtC;YACE,OAAO;YACP,KAAK;SACN,CACF,CAAA;IACH,CAAC;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACH,KAAK,CAAC,cAAc,CAClB,SAAiB,EACjB,EAAU,EACV,KAAoB,EACpB,OAAuB;QAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,mBAAmB,SAAS,YAAY,EAAE,EAAE,EAC5C;YACE,KAAK;YACL,OAAO;SACR,CACF,CAAA;IACH,CAAC;IAED;;;;;;;;;;;;;;;OAeG;IACH,KAAK,CAAC,YAAY,CAAC,SAAiB,EAAE,EAAU,EAAE,OAAuB;QACvE,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,mBAAmB,SAAS,YAAY,EAAE,EAAE,EAC5C;YACE,MAAM,EAAE,QAAQ;YAChB,OAAO;SACR,CACF,CAAA;IACH,CAAC;CACF;AAl8BD,0BAk8BC"}
|
package/dist/client.d.ts
CHANGED
@@ -36,9 +36,9 @@ export declare class Client {
|
|
36
36
|
* @returns FetchStreamResponse
|
37
37
|
*/
|
38
38
|
fetchStream(input: FetchInput, init?: FetchArgs): Promise<FetchStreamResponse>;
|
39
|
-
setToken(token: string):
|
40
|
-
clearToken():
|
41
|
-
protected clearToken_():
|
39
|
+
setToken(token: string): void;
|
40
|
+
clearToken(): void;
|
41
|
+
protected clearToken_(): void;
|
42
42
|
protected initClient(): ClientFetch;
|
43
43
|
protected getApiKeyHeader_: () => {
|
44
44
|
Authorization: string;
|
@@ -46,15 +46,14 @@ export declare class Client {
|
|
46
46
|
protected getPublishableKeyHeader_: () => {
|
47
47
|
[PUBLISHABLE_KEY_HEADER]: string;
|
48
48
|
} | {};
|
49
|
-
protected getJwtHeader_()
|
49
|
+
protected getJwtHeader_: () => {
|
50
50
|
Authorization: string;
|
51
|
-
} | {}
|
52
|
-
protected setToken_(token: string)
|
53
|
-
protected getToken_()
|
51
|
+
} | {};
|
52
|
+
protected setToken_: (token: string) => void;
|
53
|
+
protected getToken_: () => string | null | undefined;
|
54
54
|
protected getTokenStorageInfo_: () => {
|
55
|
-
storageMethod: "session" | "local" | "memory" | "
|
55
|
+
storageMethod: "session" | "local" | "memory" | "nostore";
|
56
56
|
storageKey: string;
|
57
57
|
};
|
58
|
-
protected throwError_(message: string): void;
|
59
58
|
}
|
60
59
|
//# sourceMappingURL=client.d.ts.map
|
package/dist/client.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,MAAM,EACN,SAAS,EACT,UAAU,EACV,mBAAmB,EAEpB,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAM,sBAAsB,0BAA0B,CAAA;AAoF7D,qBAAa,UAAW,SAAQ,KAAK;IACnC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;gBAElB,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;CAKlE;AAED,qBAAa,MAAM;IACV,MAAM,EAAE,WAAW,CAAA;IAC1B,OAAO,CAAC,MAAM,CAAQ;IACtB,O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,OAAO,CAAC,mBAAmB,CAAC;IAiB/B,QAAQ,CAAC,KAAK,EAAE,MAAM;IAItB,UAAU;IAIV,SAAS,CAAC,WAAW;IAkBrB,SAAS,CAAC,UAAU,IAAI,WAAW;IA+DnC,SAAS,CAAC,gBAAgB,QAAO;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,GAAG,EAAE,CAI9D;IAED,SAAS,CAAC,wBAAwB,QAC9B;QAAE,CAAC,sBAAsB,CAAC,EAAE,MAAM,CAAA;KAAE,GACpC,EAAE,CAIL;IAED,SAAS,CAAC,aAAa,QAAO;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,GAAG,EAAE,CAQ3D;IAED,SAAS,CAAC,SAAS,UAAW,MAAM,UAgBnC;IAED,SAAS,CAAC,SAAS,kCAelB;IAED,SAAS,CAAC,oBAAoB;;;MAqB7B;CACF"}
|
package/dist/client.js
CHANGED
@@ -83,21 +83,57 @@ class Client {
|
|
83
83
|
? { [exports.PUBLISHABLE_KEY_HEADER]: this.config.publishableKey }
|
84
84
|
: {};
|
85
85
|
};
|
86
|
+
this.getJwtHeader_ = () => {
|
87
|
+
// If the user has requested for session storage, we don't want to send the JWT token in the header.
|
88
|
+
if (this.config.auth?.type === "session") {
|
89
|
+
return {};
|
90
|
+
}
|
91
|
+
const token = this.getToken_();
|
92
|
+
return token ? { Authorization: `Bearer ${token}` } : {};
|
93
|
+
};
|
94
|
+
this.setToken_ = (token) => {
|
95
|
+
const { storageMethod, storageKey } = this.getTokenStorageInfo_();
|
96
|
+
switch (storageMethod) {
|
97
|
+
case "local": {
|
98
|
+
window.localStorage.setItem(storageKey, token);
|
99
|
+
break;
|
100
|
+
}
|
101
|
+
case "session": {
|
102
|
+
window.sessionStorage.setItem(storageKey, token);
|
103
|
+
break;
|
104
|
+
}
|
105
|
+
case "memory": {
|
106
|
+
this.token = token;
|
107
|
+
break;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
};
|
111
|
+
this.getToken_ = () => {
|
112
|
+
const { storageMethod, storageKey } = this.getTokenStorageInfo_();
|
113
|
+
switch (storageMethod) {
|
114
|
+
case "local": {
|
115
|
+
return window.localStorage.getItem(storageKey);
|
116
|
+
}
|
117
|
+
case "session": {
|
118
|
+
return window.sessionStorage.getItem(storageKey);
|
119
|
+
}
|
120
|
+
case "memory": {
|
121
|
+
return this.token;
|
122
|
+
}
|
123
|
+
}
|
124
|
+
return;
|
125
|
+
};
|
86
126
|
this.getTokenStorageInfo_ = () => {
|
87
127
|
const hasLocal = hasStorage("localStorage");
|
88
128
|
const hasSession = hasStorage("sessionStorage");
|
89
|
-
const hasCustom = Boolean(this.config.auth?.storage);
|
90
129
|
const storageMethod = this.config.auth?.jwtTokenStorageMethod ||
|
91
130
|
(hasLocal ? "local" : "nostore");
|
92
131
|
const storageKey = this.config.auth?.jwtTokenStorageKey || this.DEFAULT_JWT_STORAGE_KEY;
|
93
132
|
if (!hasLocal && storageMethod === "local") {
|
94
|
-
|
133
|
+
throw new Error("Local JWT storage is only available in the browser");
|
95
134
|
}
|
96
135
|
if (!hasSession && storageMethod === "session") {
|
97
|
-
|
98
|
-
}
|
99
|
-
if (!hasCustom && storageMethod === "custom") {
|
100
|
-
this.throwError_("Custom storage was not provided in the config");
|
136
|
+
throw new Error("Session JWT storage is only available in the browser");
|
101
137
|
}
|
102
138
|
return {
|
103
139
|
storageMethod,
|
@@ -155,13 +191,13 @@ class Client {
|
|
155
191
|
}
|
156
192
|
return { stream: null, abort: abortFunc };
|
157
193
|
}
|
158
|
-
|
159
|
-
|
194
|
+
setToken(token) {
|
195
|
+
this.setToken_(token);
|
160
196
|
}
|
161
|
-
|
162
|
-
|
197
|
+
clearToken() {
|
198
|
+
this.clearToken_();
|
163
199
|
}
|
164
|
-
|
200
|
+
clearToken_() {
|
165
201
|
const { storageMethod, storageKey } = this.getTokenStorageInfo_();
|
166
202
|
switch (storageMethod) {
|
167
203
|
case "local": {
|
@@ -172,10 +208,6 @@ class Client {
|
|
172
208
|
window.sessionStorage.removeItem(storageKey);
|
173
209
|
break;
|
174
210
|
}
|
175
|
-
case "custom": {
|
176
|
-
await this.config.auth?.storage?.removeItem(storageKey);
|
177
|
-
break;
|
178
|
-
}
|
179
211
|
case "memory": {
|
180
212
|
this.token = "";
|
181
213
|
break;
|
@@ -195,7 +227,7 @@ class Client {
|
|
195
227
|
const headers = new Headers(defaultHeaders);
|
196
228
|
const customHeaders = {
|
197
229
|
...this.config.globalHeaders,
|
198
|
-
...
|
230
|
+
...this.getJwtHeader_(),
|
199
231
|
...init?.headers,
|
200
232
|
};
|
201
233
|
// We use `headers.set` in order to ensure headers are overwritten in a case-insensitive manner.
|
@@ -228,57 +260,6 @@ class Client {
|
|
228
260
|
});
|
229
261
|
};
|
230
262
|
}
|
231
|
-
async getJwtHeader_() {
|
232
|
-
// If the user has requested for session storage, we don't want to send the JWT token in the header.
|
233
|
-
if (this.config.auth?.type === "session") {
|
234
|
-
return {};
|
235
|
-
}
|
236
|
-
const token = await this.getToken_();
|
237
|
-
return token ? { Authorization: `Bearer ${token}` } : {};
|
238
|
-
}
|
239
|
-
async setToken_(token) {
|
240
|
-
const { storageMethod, storageKey } = this.getTokenStorageInfo_();
|
241
|
-
switch (storageMethod) {
|
242
|
-
case "local": {
|
243
|
-
window.localStorage.setItem(storageKey, token);
|
244
|
-
break;
|
245
|
-
}
|
246
|
-
case "session": {
|
247
|
-
window.sessionStorage.setItem(storageKey, token);
|
248
|
-
break;
|
249
|
-
}
|
250
|
-
case "custom": {
|
251
|
-
await this.config.auth?.storage?.setItem(storageKey, token);
|
252
|
-
break;
|
253
|
-
}
|
254
|
-
case "memory": {
|
255
|
-
this.token = token;
|
256
|
-
break;
|
257
|
-
}
|
258
|
-
}
|
259
|
-
}
|
260
|
-
async getToken_() {
|
261
|
-
const { storageMethod, storageKey } = this.getTokenStorageInfo_();
|
262
|
-
switch (storageMethod) {
|
263
|
-
case "local": {
|
264
|
-
return window.localStorage.getItem(storageKey);
|
265
|
-
}
|
266
|
-
case "session": {
|
267
|
-
return window.sessionStorage.getItem(storageKey);
|
268
|
-
}
|
269
|
-
case "custom": {
|
270
|
-
return await this.config.auth?.storage?.getItem(storageKey);
|
271
|
-
}
|
272
|
-
case "memory": {
|
273
|
-
return this.token;
|
274
|
-
}
|
275
|
-
}
|
276
|
-
return null;
|
277
|
-
}
|
278
|
-
throwError_(message) {
|
279
|
-
this.logger.error(message);
|
280
|
-
throw new Error(message);
|
281
|
-
}
|
282
263
|
}
|
283
264
|
exports.Client = Client;
|
284
265
|
//# sourceMappingURL=client.js.map
|
package/dist/client.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"client.js","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":";;;AAAA,2DAA2C;AAC3C,2BAA8B;AAUjB,QAAA,sBAAsB,GAAG,uBAAuB,CAAA;AAE7D,6HAA6H;AAC7H,MAAM,UAAU,GAAG,CAAC,aAAqB,EAAE,EAAE;IAC3C,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;QAClC,OAAO,aAAa,CAAA;IACtB,CAAC;IAED,sFAAsF;IACtF,IAAI,aAAa,KAAK,EAAE,IAAI,aAAa,KAAK,GAAG,EAAE,CAAC;QAClD,OAAO,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAA;IAC/B,CAAC;IAED,OAAO,aAAa,CAAA;AACtB,CAAC,CAAA;AAED,MAAM,UAAU,GAAG,CAAC,OAA0C,EAAE,EAAE;IAChE,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;QAClC,OAAO,OAAO,IAAI,MAAM,CAAA;IAC1B,CAAC;IAED,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AAED,MAAM,QAAQ,GAAG,CAAC,GAAW,EAAE,EAAE;IAC/B,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,CAAC;QAClC,OAAO,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;IACzB,CAAC;IAED,OAAO,MAAM,CAAC,IA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AAG,IAAA,cAAS,EAAC,EAAE,GAAG,MAAM,EAAE,GAAG,IAAI,CAAC,KAAK,EAAE,CAAC,CAAA;oBAChE,eAAe,CAAC,MAAM,GAAG,gBAAgB,CAAA;gBAC3C,CAAC;YACH,CAAC;YAED,IAAI,CAAC,MAAM,CAAC,KAAK,CACf,0BAA0B,EAC1B,QAAQ,eAAe,CAAC,QAAQ,EAAE,IAAI,EACtC,YAAY,IAAI,CAAC,SAAS,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,IAAI,CAClE,CAAA;YAED,kFAAkF;YAClF,OAAO,MAAM,KAAK,CAChB,eAAe,EACf,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,MAAM,CAAC,CAC7C,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE;gBACd,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,iCAAiC,IAAI,CAAC,MAAM,IAAI,CAAC,CAAA;gBACnE,OAAO,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,CAAA;YACzC,CAAC,CAAC,CAAA;QACJ,CAAC,CAAA;IACH,CAAC;CAmFF;AAjPD,wBAiPC"}
|
@@ -5,7 +5,6 @@ import { Claim } from "./claim";
|
|
5
5
|
import { Currency } from "./currency";
|
6
6
|
import { Customer } from "./customer";
|
7
7
|
import { CustomerGroup } from "./customer-group";
|
8
|
-
import { DraftOrder } from "./draft-order";
|
9
8
|
import { Exchange } from "./exchange";
|
10
9
|
import { Fulfillment } from "./fulfillment";
|
11
10
|
import { FulfillmentProvider } from "./fulfillment-provider";
|
@@ -126,10 +125,6 @@ export declare class Admin {
|
|
126
125
|
* @tags order
|
127
126
|
*/
|
128
127
|
order: Order;
|
129
|
-
/**
|
130
|
-
* @tags draft order
|
131
|
-
*/
|
132
|
-
draftOrder: DraftOrder;
|
133
128
|
/**
|
134
129
|
* @tags order
|
135
130
|
*/
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/admin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/admin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAA;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAA;AACjC,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAC7C,OAAO,EAAE,KAAK,EAAE,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I,OAAO,EAAE,OAAO,CAAA;IACvB;;OAEG;IACI,SAAS,EAAE,SAAS,CAAA;IAC3B;;OAEG;IACI,KAAK,EAAE,KAAK,CAAA;IACnB;;OAEG;IACI,UAAU,EAAE,UAAU,CAAA;IAC7B;;OAEG;IACI,IAAI,EAAE,IAAI,CAAA;IACjB;;OAEG;IACI,QAAQ,EAAE,QAAQ,CAAA;IACzB;;OAEG;IACI,OAAO,EAAE,OAAO,CAAA;IACvB;;OAEG;IACI,cAAc,EAAE,cAAc,CAAA;IACrC;;OAEG;IACI,YAAY,EAAE,YAAY,CAAA;IACjC;;OAEG;IACI,iBAAiB,EAAE,iBAAiB,CAAA;IAC3C;;OAEG;IACI,MAAM,EAAE,MAAM,CAAA;IACrB;;OAEG;IACI,iBAAiB,EAAE,iBAAiB,CAAA;IAC3C;;OAEG;IACI,WAAW,EAAE,WAAW,CAAA;IAC/B;;OAEG;IACI,aAAa,EAAE,aAAa,CAAA;IACnC;;OAEG;IACI,SAAS,EAAE,SAAS,CAAA;IAC3B;;OAEG;IACI,QAAQ,EAAE,QAAQ,CAAA;gBAEb,MAAM,EAAE,MAAM;CA2C3B"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/admin/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAA;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/admin/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAA;AAClC,OAA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C3B,IAAI,CAAC,MAAM,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;YAE9B,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,wBAAwB,EACxB;gBACE,MAAM,EAAE,MAAM;gBACd,OAAO,kCACF,OAAO;oBACV,8CAA8C;oBAC9C,cAAc,EAAE,IAAI,GACrB;gBACD,IAAI,EAAE,IAAI;gBACV,KAAK;aACN,CACF,CAAA;QACH,CAAC;KAAA;IAED;;;;;;;;;;;;;;;;OAgBG;IACG,aAAa,CACjB,aAAqB,EACrB,KAAU,EACV,OAAuB;;YAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,0BAA0B,aAAa,UAAU,EACjD;gBACE,MAAM,EAAE,MAAM;gBACd,OAAO;gBACP,IAAI,EAAE,EAAE;gBACR,KAAK;aACN,CACF,CAAA;QACH,CAAC;KAAA;IAED;;;;;;;;;;;;;;;;;;;;;;;;OAwBG;IACG,MAAM,CACV,IAAyC,EACzC,KAAwC,EACxC,OAAuB;;YAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,wBAAwB,EACxB;gBACE,MAAM,EAAE,MAAM;gBACd,OAAO;gBACP,IAAI;gBACJ,KAAK;aACN,CACF,CAAA;QACH,CAAC;KAAA;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuCG;IACG,KAAK,CACT,IAAwC,EACxC,KAAoB,EACpB,OAAuB;;YAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,uBAAuB,EACvB;gBACE,MAAM,EAAE,MAAM;gBACd,OAAO;gBACP,IAAI;gBACJ,KAAK;aACN,CACF,CAAA;QACH,CAAC;KAAA;IAED
|
1
|
+
{"version":3,"file":"product.js","sourceRoot":"","sources":["../../../src/admin/product.ts"],"names":[],"mappings":";;;;;;;;;AAIA,MAAM,OAAO,OAAO;IAKlB;;OAEG;IACH,Y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AI,CAAC,MAAM,CAAC,KAAK,CAC5B,mBAAmB,SAAS,YAAY,EAAE,EAAE,EAC5C;gBACE,MAAM,EAAE,MAAM;gBACd,OAAO;gBACP,IAAI;gBACJ,KAAK;aACN,CACF,CAAA;QACH,CAAC;KAAA;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACG,WAAW,CACf,SAAiB,EACjB,KAA0C,EAC1C,OAAuB;;YAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,mBAAmB,SAAS,UAAU,EACtC;gBACE,OAAO;gBACP,KAAK;aACN,CACF,CAAA;QACH,CAAC;KAAA;IAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACG,cAAc,CAClB,SAAiB,EACjB,EAAU,EACV,KAAoB,EACpB,OAAuB;;YAEvB,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,mBAAmB,SAAS,YAAY,EAAE,EAAE,EAC5C;gBACE,KAAK;gBACL,OAAO;aACR,CACF,CAAA;QACH,CAAC;KAAA;IAED;;;;;;;;;;;;;;;OAeG;IACG,YAAY,CAAC,SAAiB,EAAE,EAAU,EAAE,OAAuB;;YACvE,OAAO,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAC5B,mBAAmB,SAAS,YAAY,EAAE,EAAE,EAC5C;gBACE,MAAM,EAAE,QAAQ;gBAChB,OAAO;aACR,CACF,CAAA;QACH,CAAC;KAAA;CACF"}
|
package/dist/esm/client.d.ts
CHANGED
@@ -36,9 +36,9 @@ export declare class Client {
|
|
36
36
|
* @returns FetchStreamResponse
|
37
37
|
*/
|
38
38
|
fetchStream(input: FetchInput, init?: FetchArgs): Promise<FetchStreamResponse>;
|
39
|
-
setToken(token: string):
|
40
|
-
clearToken():
|
41
|
-
protected clearToken_():
|
39
|
+
setToken(token: string): void;
|
40
|
+
clearToken(): void;
|
41
|
+
protected clearToken_(): void;
|
42
42
|
protected initClient(): ClientFetch;
|
43
43
|
protected getApiKeyHeader_: () => {
|
44
44
|
Authorization: string;
|
@@ -46,15 +46,14 @@ export declare class Client {
|
|
46
46
|
protected getPublishableKeyHeader_: () => {
|
47
47
|
[PUBLISHABLE_KEY_HEADER]: string;
|
48
48
|
} | {};
|
49
|
-
protected getJwtHeader_()
|
49
|
+
protected getJwtHeader_: () => {
|
50
50
|
Authorization: string;
|
51
|
-
} | {}
|
52
|
-
protected setToken_(token: string)
|
53
|
-
protected getToken_()
|
51
|
+
} | {};
|
52
|
+
protected setToken_: (token: string) => void;
|
53
|
+
protected getToken_: () => string | null | undefined;
|
54
54
|
protected getTokenStorageInfo_: () => {
|
55
|
-
storageMethod: "session" | "local" | "memory" | "
|
55
|
+
storageMethod: "session" | "local" | "memory" | "nostore";
|
56
56
|
storageKey: string;
|
57
57
|
};
|
58
|
-
protected throwError_(message: string): void;
|
59
58
|
}
|
60
59
|
//# sourceMappingURL=client.d.ts.map
|
package/dist/esm/client.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,WAAW,EACX,MAAM,EACN,SAAS,EACT,UAAU,EACV,mBAAmB,EAEpB,MAAM,SAAS,CAAA;AAEhB,eAAO,MAAM,sBAAsB,0BAA0B,CAAA;AAoF7D,qBAAa,UAAW,SAAQ,KAAK;IACnC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAA;IAC1B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;gBAElB,OAAO,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;CAKlE;AAED,qBAAa,MAAM;IACV,MAAM,EAAE,WAAW,CAAA;IAC1B,OAAO,CAAC,MAAM,CAAQ;IACtB,OAAO,CAAC,MAAM,CAAQ;IAEtB,OAAO,CAAC,uBAAuB,CAAsB;IACrD,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