@23blocks/sdk 4.3.0 → 5.0.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/index.esm.js
CHANGED
|
@@ -41,9 +41,9 @@ export * from '@23blocks/contracts';
|
|
|
41
41
|
export * from '@23blocks/jsonapi-codec';
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* Generate storage key scoped to
|
|
45
|
-
*/ function getStorageKey(type,
|
|
46
|
-
const scope = tenantId ? `${
|
|
44
|
+
* Generate storage key scoped to API key and tenant
|
|
45
|
+
*/ function getStorageKey(type, apiKey, tenantId) {
|
|
46
|
+
const scope = tenantId ? `${apiKey}_${tenantId}` : apiKey;
|
|
47
47
|
return `23blocks_${scope}_${type}_token`;
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
@@ -89,13 +89,13 @@ export * from '@23blocks/jsonapi-codec';
|
|
|
89
89
|
/**
|
|
90
90
|
* Create a token manager instance
|
|
91
91
|
*
|
|
92
|
-
* @param config - Token manager configuration including
|
|
92
|
+
* @param config - Token manager configuration including apiKey for scoped storage
|
|
93
93
|
* @returns A TokenManager instance
|
|
94
94
|
*
|
|
95
95
|
* @example
|
|
96
96
|
* ```typescript
|
|
97
97
|
* const tokenManager = createTokenManager({
|
|
98
|
-
*
|
|
98
|
+
* apiKey: 'my-api-key',
|
|
99
99
|
* storage: 'localStorage',
|
|
100
100
|
* });
|
|
101
101
|
*
|
|
@@ -114,10 +114,10 @@ export * from '@23blocks/jsonapi-codec';
|
|
|
114
114
|
* });
|
|
115
115
|
* ```
|
|
116
116
|
*/ function createTokenManager(config) {
|
|
117
|
-
const {
|
|
117
|
+
const { apiKey, tenantId, storage: storageType = 'localStorage' } = config;
|
|
118
118
|
const storage = getStorage(storageType);
|
|
119
|
-
const accessTokenKey = getStorageKey('access',
|
|
120
|
-
const refreshTokenKey = getStorageKey('refresh',
|
|
119
|
+
const accessTokenKey = getStorageKey('access', apiKey, tenantId);
|
|
120
|
+
const refreshTokenKey = getStorageKey('refresh', apiKey, tenantId);
|
|
121
121
|
// Track storage event listeners for cleanup
|
|
122
122
|
const listeners = new Set();
|
|
123
123
|
return {
|
|
@@ -191,7 +191,7 @@ export * from '@23blocks/jsonapi-codec';
|
|
|
191
191
|
* @example Basic usage with multiple services
|
|
192
192
|
* ```typescript
|
|
193
193
|
* const client = create23BlocksClient({
|
|
194
|
-
*
|
|
194
|
+
* apiKey: 'your-api-key',
|
|
195
195
|
* urls: {
|
|
196
196
|
* authentication: 'https://gateway.23blocks.com',
|
|
197
197
|
* crm: 'https://crm.23blocks.com',
|
|
@@ -213,7 +213,7 @@ export * from '@23blocks/jsonapi-codec';
|
|
|
213
213
|
* @example Cookie mode (recommended for security)
|
|
214
214
|
* ```typescript
|
|
215
215
|
* const client = create23BlocksClient({
|
|
216
|
-
*
|
|
216
|
+
* apiKey: 'your-api-key',
|
|
217
217
|
* authMode: 'cookie',
|
|
218
218
|
* urls: {
|
|
219
219
|
* authentication: 'https://gateway.23blocks.com',
|
|
@@ -225,7 +225,7 @@ export * from '@23blocks/jsonapi-codec';
|
|
|
225
225
|
* @example SSR with token forwarding
|
|
226
226
|
* ```typescript
|
|
227
227
|
* const client = create23BlocksClient({
|
|
228
|
-
*
|
|
228
|
+
* apiKey: 'your-api-key',
|
|
229
229
|
* storage: 'memory',
|
|
230
230
|
* headers: { Authorization: `Bearer ${tokenFromRequest}` },
|
|
231
231
|
* urls: {
|
|
@@ -235,12 +235,12 @@ export * from '@23blocks/jsonapi-codec';
|
|
|
235
235
|
* });
|
|
236
236
|
* ```
|
|
237
237
|
*/ function create23BlocksClient(config) {
|
|
238
|
-
const { urls,
|
|
238
|
+
const { urls, apiKey, tenantId, authMode = 'token', storage = isBrowser() ? 'localStorage' : 'memory', headers: staticHeaders = {}, timeout } = config;
|
|
239
239
|
// Create token manager for token mode
|
|
240
240
|
let tokenManager = null;
|
|
241
241
|
if (authMode === 'token') {
|
|
242
242
|
tokenManager = createTokenManager({
|
|
243
|
-
|
|
243
|
+
apiKey,
|
|
244
244
|
tenantId,
|
|
245
245
|
storage
|
|
246
246
|
});
|
|
@@ -253,7 +253,7 @@ export * from '@23blocks/jsonapi-codec';
|
|
|
253
253
|
credentials: authMode === 'cookie' ? 'include' : undefined,
|
|
254
254
|
headers: ()=>{
|
|
255
255
|
const headers = _({}, staticHeaders, {
|
|
256
|
-
|
|
256
|
+
'api-key': apiKey
|
|
257
257
|
});
|
|
258
258
|
if (tenantId) {
|
|
259
259
|
headers['tenant-id'] = tenantId;
|
|
@@ -279,7 +279,7 @@ export * from '@23blocks/jsonapi-codec';
|
|
|
279
279
|
}
|
|
280
280
|
// Create block config
|
|
281
281
|
const blockConfig = {
|
|
282
|
-
|
|
282
|
+
apiKey,
|
|
283
283
|
tenantId
|
|
284
284
|
};
|
|
285
285
|
// Create blocks only if their URL is provided
|
package/dist/src/lib/client.d.ts
CHANGED
|
@@ -85,9 +85,9 @@ export interface ClientConfig {
|
|
|
85
85
|
*/
|
|
86
86
|
urls: ServiceUrls;
|
|
87
87
|
/**
|
|
88
|
-
*
|
|
88
|
+
* API Key for authenticating with 23blocks services
|
|
89
89
|
*/
|
|
90
|
-
|
|
90
|
+
apiKey: string;
|
|
91
91
|
/**
|
|
92
92
|
* Tenant ID (optional, for multi-tenant setups)
|
|
93
93
|
*/
|
|
@@ -292,7 +292,7 @@ export interface Blocks23Client {
|
|
|
292
292
|
* @example Basic usage with multiple services
|
|
293
293
|
* ```typescript
|
|
294
294
|
* const client = create23BlocksClient({
|
|
295
|
-
*
|
|
295
|
+
* apiKey: 'your-api-key',
|
|
296
296
|
* urls: {
|
|
297
297
|
* authentication: 'https://gateway.23blocks.com',
|
|
298
298
|
* crm: 'https://crm.23blocks.com',
|
|
@@ -314,7 +314,7 @@ export interface Blocks23Client {
|
|
|
314
314
|
* @example Cookie mode (recommended for security)
|
|
315
315
|
* ```typescript
|
|
316
316
|
* const client = create23BlocksClient({
|
|
317
|
-
*
|
|
317
|
+
* apiKey: 'your-api-key',
|
|
318
318
|
* authMode: 'cookie',
|
|
319
319
|
* urls: {
|
|
320
320
|
* authentication: 'https://gateway.23blocks.com',
|
|
@@ -326,7 +326,7 @@ export interface Blocks23Client {
|
|
|
326
326
|
* @example SSR with token forwarding
|
|
327
327
|
* ```typescript
|
|
328
328
|
* const client = create23BlocksClient({
|
|
329
|
-
*
|
|
329
|
+
* apiKey: 'your-api-key',
|
|
330
330
|
* storage: 'memory',
|
|
331
331
|
* headers: { Authorization: `Bearer ${tokenFromRequest}` },
|
|
332
332
|
* urls: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../../src/lib/client.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,mBAAmB,EACxB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC7B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAuB,KAAK,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACnF,OAAO,EAAkB,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AACpE,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAChF,OAAO,EAA0B,KAAK,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC5F,OAAO,EAA4B,KAAK,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAClG,OAAO,EAAoB,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAoB,KAAK,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAC1E,OAAO,EAAqB,KAAK,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC7E,OAAO,EAAwB,KAAK,cAAc,EAAE,MAAM,2BAA2B,CAAC;AACtF,OAAO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S,CAAC,WAAW,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5D;;OAEG;IACH,YAAY,IAAI,IAAI,CAAC;IAErB;;;;OAIG;IACH,eAAe,IAAI,OAAO,GAAG,IAAI,CAAC;CACnC;AASD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,wBAAgB,oBAAoB,CAAC,MAAM,EAAE,YAAY,GAAG,cAAc,CA2PzE;AAGD,YAAY,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -7,10 +7,10 @@ export type StorageType = 'localStorage' | 'sessionStorage' | 'memory';
|
|
|
7
7
|
*/
|
|
8
8
|
export interface TokenManagerConfig {
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* API Key - used to scope token storage
|
|
11
11
|
* This ensures multiple apps on the same domain don't conflict
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
apiKey: string;
|
|
14
14
|
/**
|
|
15
15
|
* Tenant ID (optional) - further scopes token storage for multi-tenant apps
|
|
16
16
|
*/
|
|
@@ -50,13 +50,13 @@ export interface TokenManager {
|
|
|
50
50
|
/**
|
|
51
51
|
* Create a token manager instance
|
|
52
52
|
*
|
|
53
|
-
* @param config - Token manager configuration including
|
|
53
|
+
* @param config - Token manager configuration including apiKey for scoped storage
|
|
54
54
|
* @returns A TokenManager instance
|
|
55
55
|
*
|
|
56
56
|
* @example
|
|
57
57
|
* ```typescript
|
|
58
58
|
* const tokenManager = createTokenManager({
|
|
59
|
-
*
|
|
59
|
+
* apiKey: 'my-api-key',
|
|
60
60
|
* storage: 'localStorage',
|
|
61
61
|
* });
|
|
62
62
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token-manager.d.ts","sourceRoot":"","sources":["../../../src/lib/token-manager.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,cAAc,GAAG,gBAAgB,GAAG,QAAQ,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,
|
|
1
|
+
{"version":3,"file":"token-manager.d.ts","sourceRoot":"","sources":["../../../src/lib/token-manager.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,cAAc,GAAG,gBAAgB,GAAG,QAAQ,CAAC;AAEvE;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;OAGG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B;;OAEG;IACH,cAAc,IAAI,MAAM,GAAG,IAAI,CAAC;IAEhC;;OAEG;IACH,eAAe,IAAI,MAAM,GAAG,IAAI,CAAC;IAEjC;;OAEG;IACH,SAAS,CAAC,WAAW,EAAE,MAAM,EAAE,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5D;;OAEG;IACH,WAAW,IAAI,IAAI,CAAC;IAEpB;;;OAGG;IACH,eAAe,CAAC,QAAQ,EAAE,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC;CACnD;AAyDD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,kBAAkB,GAAG,YAAY,CAwE3E"}
|