@stacksjs/actions 0.70.18 → 0.70.19
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/build.js +7 -7
- package/dist/{chunk-veja9rez.js → chunk-0crtxf8d.js} +19 -156
- package/dist/{chunk-xgpn959d.js → chunk-264njj8m.js} +7 -7
- package/dist/{chunk-38cnnp2b.js → chunk-2jssg98j.js} +7 -5
- package/dist/chunk-2m04vhea.js +145 -0
- package/dist/{chunk-dhnwmbca.js → chunk-4tte2ccn.js} +6 -6
- package/dist/{chunk-9exgwfkw.js → chunk-6egz2b52.js} +5 -4
- package/dist/{chunk-e7mp4xy5.js → chunk-6vn0j49q.js} +12 -9
- package/dist/{chunk-76zhb40c.js → chunk-6xeh1279.js} +7 -6
- package/dist/{chunk-gtghjj5c.js → chunk-74nzt2f7.js} +12 -9
- package/dist/{chunk-qkm8e752.js → chunk-8dsect0a.js} +5 -4
- package/dist/{chunk-t5em30ak.js → chunk-9menqd9a.js} +24 -16
- package/dist/{chunk-c0b89186.js → chunk-annfdd3f.js} +7 -7
- package/dist/{chunk-f6a9g4qa.js → chunk-b7b7jd25.js} +5 -4
- package/dist/{chunk-7s5qcjkt.js → chunk-bh25aaf7.js} +17 -9
- package/dist/{chunk-zsm2c35w.js → chunk-cvxddy4g.js} +6 -5
- package/dist/{chunk-ky5192ey.js → chunk-fsa32kvk.js} +69 -67
- package/dist/{chunk-shmtrj5e.js → chunk-jqbza09y.js} +21 -17
- package/dist/{chunk-v1m830st.js → chunk-x1ny4wwh.js} +3 -3
- package/dist/{chunk-2vba9ke6.js → chunk-z4k3w6hz.js} +34 -25
- package/dist/database/seed.js +6 -6
- package/dist/generate/index.js +7 -7
- package/dist/index.js +7 -7
- package/dist/release.js +7 -7
- package/dist/upgrade.js +1 -1
- package/package.json +17 -17
- package/dist/chunk-zzerxbrm.js +0 -107
package/dist/build.js
CHANGED
|
@@ -2,25 +2,25 @@
|
|
|
2
2
|
import {
|
|
3
3
|
generateTypes
|
|
4
4
|
} from "./generate/index.js";
|
|
5
|
-
import"./chunk-
|
|
5
|
+
import"./chunk-x1ny4wwh.js";
|
|
6
6
|
import"./helpers/vscode-custom-data.js";
|
|
7
7
|
import"./chunk-494jp8d5.js";
|
|
8
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-fsa32kvk.js";
|
|
9
9
|
import"./chunk-mdj7x1vs.js";
|
|
10
10
|
import"./chunk-p0c688mg.js";
|
|
11
|
-
import"./chunk-
|
|
11
|
+
import"./chunk-8dsect0a.js";
|
|
12
12
|
import"./chunk-a13x0e43.js";
|
|
13
13
|
import"./chunk-mdqphqep.js";
|
|
14
14
|
import"./chunk-qhh0v93n.js";
|
|
15
|
-
import"./chunk-
|
|
16
|
-
import"./chunk-
|
|
15
|
+
import"./chunk-74nzt2f7.js";
|
|
16
|
+
import"./chunk-bh25aaf7.js";
|
|
17
17
|
import"./chunk-bf8bq8pc.js";
|
|
18
18
|
import"./chunk-xt9exr2c.js";
|
|
19
|
-
import"./chunk-
|
|
20
|
-
import"./chunk-veja9rez.js";
|
|
19
|
+
import"./chunk-0crtxf8d.js";
|
|
21
20
|
import"./chunk-a7k3cdby.js";
|
|
22
21
|
import"./chunk-frw3va9v.js";
|
|
23
22
|
import"./chunk-saqpg5nd.js";
|
|
23
|
+
import"./chunk-2m04vhea.js";
|
|
24
24
|
import"./chunk-2dvnt46s.js";
|
|
25
25
|
import"./chunk-w6fdq4hk.js";
|
|
26
26
|
import"./chunk-wkwtsvym.js";
|
|
@@ -12,13 +12,16 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
require_dist_cjs
|
|
14
14
|
} from "./chunk-saqpg5nd.js";
|
|
15
|
+
import {
|
|
16
|
+
require_dist_cjs as require_dist_cjs7
|
|
17
|
+
} from "./chunk-2m04vhea.js";
|
|
15
18
|
import {
|
|
16
19
|
__commonJS,
|
|
17
20
|
__require
|
|
18
21
|
} from "./chunk-9v6qtbez.js";
|
|
19
22
|
|
|
20
23
|
// ../../../../node_modules/@smithy/middleware-serde/dist-cjs/index.js
|
|
21
|
-
var
|
|
24
|
+
var require_dist_cjs8 = __commonJS((exports, module) => {
|
|
22
25
|
var __defProp = Object.defineProperty;
|
|
23
26
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
24
27
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -114,7 +117,7 @@ var require_dist_cjs7 = __commonJS((exports, module) => {
|
|
|
114
117
|
});
|
|
115
118
|
|
|
116
119
|
// ../../../../node_modules/@smithy/util-middleware/dist-cjs/index.js
|
|
117
|
-
var
|
|
120
|
+
var require_dist_cjs9 = __commonJS((exports, module) => {
|
|
118
121
|
var __defProp = Object.defineProperty;
|
|
119
122
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
120
123
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -150,7 +153,7 @@ var require_dist_cjs8 = __commonJS((exports, module) => {
|
|
|
150
153
|
});
|
|
151
154
|
|
|
152
155
|
// ../../../../node_modules/@smithy/core/dist-cjs/index.js
|
|
153
|
-
var
|
|
156
|
+
var require_dist_cjs10 = __commonJS((exports, module) => {
|
|
154
157
|
var __defProp = Object.defineProperty;
|
|
155
158
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
156
159
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -197,7 +200,7 @@ var require_dist_cjs9 = __commonJS((exports, module) => {
|
|
|
197
200
|
module.exports = __toCommonJS(src_exports);
|
|
198
201
|
var import_types = require_dist_cjs();
|
|
199
202
|
var getSmithyContext = /* @__PURE__ */ __name((context) => context[import_types.SMITHY_CONTEXT_KEY] || (context[import_types.SMITHY_CONTEXT_KEY] = {}), "getSmithyContext");
|
|
200
|
-
var import_util_middleware =
|
|
203
|
+
var import_util_middleware = require_dist_cjs9();
|
|
201
204
|
function convertHttpAuthSchemesToMap(httpAuthSchemes) {
|
|
202
205
|
const map = /* @__PURE__ */ new Map;
|
|
203
206
|
for (const scheme of httpAuthSchemes) {
|
|
@@ -257,7 +260,7 @@ var require_dist_cjs9 = __commonJS((exports, module) => {
|
|
|
257
260
|
}), httpAuthSchemeEndpointRuleSetMiddlewareOptions);
|
|
258
261
|
}
|
|
259
262
|
}), "getHttpAuthSchemeEndpointRuleSetPlugin");
|
|
260
|
-
var import_middleware_serde =
|
|
263
|
+
var import_middleware_serde = require_dist_cjs8();
|
|
261
264
|
var httpAuthSchemeMiddlewareOptions = {
|
|
262
265
|
step: "serialize",
|
|
263
266
|
tags: ["HTTP_AUTH_SCHEME"],
|
|
@@ -496,7 +499,7 @@ var require_dist_cjs9 = __commonJS((exports, module) => {
|
|
|
496
499
|
});
|
|
497
500
|
|
|
498
501
|
// ../../../../node_modules/@smithy/middleware-stack/dist-cjs/index.js
|
|
499
|
-
var
|
|
502
|
+
var require_dist_cjs11 = __commonJS((exports, module) => {
|
|
500
503
|
var __defProp = Object.defineProperty;
|
|
501
504
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
502
505
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -786,7 +789,7 @@ var require_dist_cjs10 = __commonJS((exports, module) => {
|
|
|
786
789
|
});
|
|
787
790
|
|
|
788
791
|
// ../../../../node_modules/@smithy/smithy-client/dist-cjs/index.js
|
|
789
|
-
var
|
|
792
|
+
var require_dist_cjs12 = __commonJS((exports, module) => {
|
|
790
793
|
var __defProp = Object.defineProperty;
|
|
791
794
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
792
795
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
@@ -870,7 +873,7 @@ var require_dist_cjs11 = __commonJS((exports, module) => {
|
|
|
870
873
|
withBaseException: () => withBaseException
|
|
871
874
|
});
|
|
872
875
|
module.exports = __toCommonJS(src_exports);
|
|
873
|
-
var import_middleware_stack =
|
|
876
|
+
var import_middleware_stack = require_dist_cjs11();
|
|
874
877
|
var Client = class {
|
|
875
878
|
constructor(config) {
|
|
876
879
|
this.config = config;
|
|
@@ -2467,146 +2470,6 @@ var require_tslib = __commonJS((exports, module) => {
|
|
|
2467
2470
|
});
|
|
2468
2471
|
});
|
|
2469
2472
|
|
|
2470
|
-
// ../../../../node_modules/@smithy/property-provider/dist-cjs/index.js
|
|
2471
|
-
var require_dist_cjs12 = __commonJS((exports, module) => {
|
|
2472
|
-
var __defProp = Object.defineProperty;
|
|
2473
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
2474
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
2475
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
2476
|
-
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
2477
|
-
var __export = (target, all) => {
|
|
2478
|
-
for (var name in all)
|
|
2479
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
2480
|
-
};
|
|
2481
|
-
var __copyProps = (to, from, except, desc) => {
|
|
2482
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
2483
|
-
for (let key of __getOwnPropNames(from))
|
|
2484
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
2485
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
2486
|
-
}
|
|
2487
|
-
return to;
|
|
2488
|
-
};
|
|
2489
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
2490
|
-
var src_exports = {};
|
|
2491
|
-
__export(src_exports, {
|
|
2492
|
-
CredentialsProviderError: () => CredentialsProviderError,
|
|
2493
|
-
ProviderError: () => ProviderError,
|
|
2494
|
-
TokenProviderError: () => TokenProviderError,
|
|
2495
|
-
chain: () => chain,
|
|
2496
|
-
fromStatic: () => fromStatic,
|
|
2497
|
-
memoize: () => memoize
|
|
2498
|
-
});
|
|
2499
|
-
module.exports = __toCommonJS(src_exports);
|
|
2500
|
-
var ProviderError = class _ProviderError extends Error {
|
|
2501
|
-
constructor(message, options = true) {
|
|
2502
|
-
let logger;
|
|
2503
|
-
let tryNextLink = true;
|
|
2504
|
-
if (typeof options === "boolean") {
|
|
2505
|
-
logger = undefined;
|
|
2506
|
-
tryNextLink = options;
|
|
2507
|
-
} else if (options != null && typeof options === "object") {
|
|
2508
|
-
logger = options.logger;
|
|
2509
|
-
tryNextLink = options.tryNextLink ?? true;
|
|
2510
|
-
}
|
|
2511
|
-
super(message);
|
|
2512
|
-
this.name = "ProviderError";
|
|
2513
|
-
this.tryNextLink = tryNextLink;
|
|
2514
|
-
Object.setPrototypeOf(this, _ProviderError.prototype);
|
|
2515
|
-
logger?.debug?.(`@smithy/property-provider ${tryNextLink ? "->" : "(!)"} ${message}`);
|
|
2516
|
-
}
|
|
2517
|
-
static {
|
|
2518
|
-
__name(this, "ProviderError");
|
|
2519
|
-
}
|
|
2520
|
-
static from(error, options = true) {
|
|
2521
|
-
return Object.assign(new this(error.message, options), error);
|
|
2522
|
-
}
|
|
2523
|
-
};
|
|
2524
|
-
var CredentialsProviderError = class _CredentialsProviderError extends ProviderError {
|
|
2525
|
-
constructor(message, options = true) {
|
|
2526
|
-
super(message, options);
|
|
2527
|
-
this.name = "CredentialsProviderError";
|
|
2528
|
-
Object.setPrototypeOf(this, _CredentialsProviderError.prototype);
|
|
2529
|
-
}
|
|
2530
|
-
static {
|
|
2531
|
-
__name(this, "CredentialsProviderError");
|
|
2532
|
-
}
|
|
2533
|
-
};
|
|
2534
|
-
var TokenProviderError = class _TokenProviderError extends ProviderError {
|
|
2535
|
-
constructor(message, options = true) {
|
|
2536
|
-
super(message, options);
|
|
2537
|
-
this.name = "TokenProviderError";
|
|
2538
|
-
Object.setPrototypeOf(this, _TokenProviderError.prototype);
|
|
2539
|
-
}
|
|
2540
|
-
static {
|
|
2541
|
-
__name(this, "TokenProviderError");
|
|
2542
|
-
}
|
|
2543
|
-
};
|
|
2544
|
-
var chain = /* @__PURE__ */ __name((...providers) => async () => {
|
|
2545
|
-
if (providers.length === 0) {
|
|
2546
|
-
throw new ProviderError("No providers in chain");
|
|
2547
|
-
}
|
|
2548
|
-
let lastProviderError;
|
|
2549
|
-
for (const provider of providers) {
|
|
2550
|
-
try {
|
|
2551
|
-
const credentials = await provider();
|
|
2552
|
-
return credentials;
|
|
2553
|
-
} catch (err) {
|
|
2554
|
-
lastProviderError = err;
|
|
2555
|
-
if (err?.tryNextLink) {
|
|
2556
|
-
continue;
|
|
2557
|
-
}
|
|
2558
|
-
throw err;
|
|
2559
|
-
}
|
|
2560
|
-
}
|
|
2561
|
-
throw lastProviderError;
|
|
2562
|
-
}, "chain");
|
|
2563
|
-
var fromStatic = /* @__PURE__ */ __name((staticValue) => () => Promise.resolve(staticValue), "fromStatic");
|
|
2564
|
-
var memoize = /* @__PURE__ */ __name((provider, isExpired, requiresRefresh) => {
|
|
2565
|
-
let resolved;
|
|
2566
|
-
let pending;
|
|
2567
|
-
let hasResult;
|
|
2568
|
-
let isConstant = false;
|
|
2569
|
-
const coalesceProvider = /* @__PURE__ */ __name(async () => {
|
|
2570
|
-
if (!pending) {
|
|
2571
|
-
pending = provider();
|
|
2572
|
-
}
|
|
2573
|
-
try {
|
|
2574
|
-
resolved = await pending;
|
|
2575
|
-
hasResult = true;
|
|
2576
|
-
isConstant = false;
|
|
2577
|
-
} finally {
|
|
2578
|
-
pending = undefined;
|
|
2579
|
-
}
|
|
2580
|
-
return resolved;
|
|
2581
|
-
}, "coalesceProvider");
|
|
2582
|
-
if (isExpired === undefined) {
|
|
2583
|
-
return async (options) => {
|
|
2584
|
-
if (!hasResult || options?.forceRefresh) {
|
|
2585
|
-
resolved = await coalesceProvider();
|
|
2586
|
-
}
|
|
2587
|
-
return resolved;
|
|
2588
|
-
};
|
|
2589
|
-
}
|
|
2590
|
-
return async (options) => {
|
|
2591
|
-
if (!hasResult || options?.forceRefresh) {
|
|
2592
|
-
resolved = await coalesceProvider();
|
|
2593
|
-
}
|
|
2594
|
-
if (isConstant) {
|
|
2595
|
-
return resolved;
|
|
2596
|
-
}
|
|
2597
|
-
if (requiresRefresh && !requiresRefresh(resolved)) {
|
|
2598
|
-
isConstant = true;
|
|
2599
|
-
return resolved;
|
|
2600
|
-
}
|
|
2601
|
-
if (isExpired(resolved)) {
|
|
2602
|
-
await coalesceProvider();
|
|
2603
|
-
return resolved;
|
|
2604
|
-
}
|
|
2605
|
-
return resolved;
|
|
2606
|
-
};
|
|
2607
|
-
}, "memoize");
|
|
2608
|
-
});
|
|
2609
|
-
|
|
2610
2473
|
// ../../../../node_modules/@smithy/signature-v4/dist-cjs/index.js
|
|
2611
2474
|
var require_dist_cjs13 = __commonJS((exports, module) => {
|
|
2612
2475
|
var __defProp = Object.defineProperty;
|
|
@@ -2640,7 +2503,7 @@ var require_dist_cjs13 = __commonJS((exports, module) => {
|
|
|
2640
2503
|
prepareRequest: () => prepareRequest
|
|
2641
2504
|
});
|
|
2642
2505
|
module.exports = __toCommonJS(src_exports);
|
|
2643
|
-
var import_util_middleware =
|
|
2506
|
+
var import_util_middleware = require_dist_cjs9();
|
|
2644
2507
|
var import_util_utf84 = require_dist_cjs4();
|
|
2645
2508
|
var ALGORITHM_QUERY_PARAM = "X-Amz-Algorithm";
|
|
2646
2509
|
var CREDENTIAL_QUERY_PARAM = "X-Amz-Credential";
|
|
@@ -3263,8 +3126,8 @@ var require_httpAuthSchemes = __commonJS((exports, module) => {
|
|
|
3263
3126
|
return signedRequest;
|
|
3264
3127
|
}
|
|
3265
3128
|
};
|
|
3266
|
-
var import_core =
|
|
3267
|
-
var import_property_provider =
|
|
3129
|
+
var import_core = require_dist_cjs10();
|
|
3130
|
+
var import_property_provider = require_dist_cjs7();
|
|
3268
3131
|
var resolveAwsSdkSigV4AConfig = /* @__PURE__ */ __name((config) => {
|
|
3269
3132
|
config.sigv4aSigningRegionSet = (0, import_core.normalizeProvider)(config.sigv4aSigningRegionSet);
|
|
3270
3133
|
return config;
|
|
@@ -3289,7 +3152,7 @@ var require_httpAuthSchemes = __commonJS((exports, module) => {
|
|
|
3289
3152
|
default: undefined
|
|
3290
3153
|
};
|
|
3291
3154
|
var import_client = require_client();
|
|
3292
|
-
var import_core2 =
|
|
3155
|
+
var import_core2 = require_dist_cjs10();
|
|
3293
3156
|
var import_signature_v4 = require_dist_cjs13();
|
|
3294
3157
|
var resolveAwsSdkSigV4Config = /* @__PURE__ */ __name((config) => {
|
|
3295
3158
|
let inputCredentials = config.credentials;
|
|
@@ -5162,7 +5025,7 @@ var require_protocols2 = __commonJS((exports, module) => {
|
|
|
5162
5025
|
}
|
|
5163
5026
|
return val2;
|
|
5164
5027
|
}, "_toNum");
|
|
5165
|
-
var import_smithy_client =
|
|
5028
|
+
var import_smithy_client = require_dist_cjs12();
|
|
5166
5029
|
var awsExpectUnion = /* @__PURE__ */ __name((value) => {
|
|
5167
5030
|
if (value == null) {
|
|
5168
5031
|
return;
|
|
@@ -5172,7 +5035,7 @@ var require_protocols2 = __commonJS((exports, module) => {
|
|
|
5172
5035
|
}
|
|
5173
5036
|
return (0, import_smithy_client.expectUnion)(value);
|
|
5174
5037
|
}, "awsExpectUnion");
|
|
5175
|
-
var import_smithy_client2 =
|
|
5038
|
+
var import_smithy_client2 = require_dist_cjs12();
|
|
5176
5039
|
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client2.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
5177
5040
|
var parseJsonBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5178
5041
|
if (encoded.length) {
|
|
@@ -5223,7 +5086,7 @@ var require_protocols2 = __commonJS((exports, module) => {
|
|
|
5223
5086
|
return sanitizeErrorCode(data["__type"]);
|
|
5224
5087
|
}
|
|
5225
5088
|
}, "loadRestJsonErrorCode");
|
|
5226
|
-
var import_smithy_client3 =
|
|
5089
|
+
var import_smithy_client3 = require_dist_cjs12();
|
|
5227
5090
|
var import_fast_xml_parser = require_fxp();
|
|
5228
5091
|
var parseXmlBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
5229
5092
|
if (encoded.length) {
|
|
@@ -5761,4 +5624,4 @@ var require_dist = __commonJS((exports) => {
|
|
|
5761
5624
|
}
|
|
5762
5625
|
});
|
|
5763
5626
|
|
|
5764
|
-
export {
|
|
5627
|
+
export { require_dist_cjs9 as require_dist_cjs, require_dist_cjs8 as require_dist_cjs1, require_dist_cjs10 as require_dist_cjs2, require_tslib, require_dist_cjs12 as require_dist_cjs3, require_dist_cjs14 as require_dist_cjs4, require_dist };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
import {
|
|
3
3
|
route
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import"./chunk-
|
|
4
|
+
} from "./chunk-x1ny4wwh.js";
|
|
5
|
+
import"./chunk-fsa32kvk.js";
|
|
6
6
|
import"./chunk-mdj7x1vs.js";
|
|
7
7
|
import"./chunk-p0c688mg.js";
|
|
8
|
-
import"./chunk-
|
|
8
|
+
import"./chunk-8dsect0a.js";
|
|
9
9
|
import"./chunk-a13x0e43.js";
|
|
10
10
|
import"./chunk-mdqphqep.js";
|
|
11
11
|
import"./chunk-qhh0v93n.js";
|
|
12
|
-
import"./chunk-
|
|
13
|
-
import"./chunk-
|
|
12
|
+
import"./chunk-74nzt2f7.js";
|
|
13
|
+
import"./chunk-bh25aaf7.js";
|
|
14
14
|
import"./chunk-bf8bq8pc.js";
|
|
15
15
|
import"./chunk-xt9exr2c.js";
|
|
16
|
-
import"./chunk-
|
|
17
|
-
import"./chunk-veja9rez.js";
|
|
16
|
+
import"./chunk-0crtxf8d.js";
|
|
18
17
|
import"./chunk-a7k3cdby.js";
|
|
19
18
|
import"./chunk-frw3va9v.js";
|
|
20
19
|
import"./chunk-saqpg5nd.js";
|
|
20
|
+
import"./chunk-2m04vhea.js";
|
|
21
21
|
import"./chunk-2dvnt46s.js";
|
|
22
22
|
import"./chunk-w6fdq4hk.js";
|
|
23
23
|
import"./chunk-wkwtsvym.js";
|
|
@@ -3,10 +3,9 @@ import {
|
|
|
3
3
|
require_dist_cjs as require_dist_cjs2,
|
|
4
4
|
require_dist_cjs1 as require_dist_cjs3,
|
|
5
5
|
require_dist_cjs2 as require_dist_cjs7,
|
|
6
|
-
require_dist_cjs3 as
|
|
7
|
-
require_dist_cjs4 as
|
|
8
|
-
|
|
9
|
-
} from "./chunk-veja9rez.js";
|
|
6
|
+
require_dist_cjs3 as require_dist_cjs9,
|
|
7
|
+
require_dist_cjs4 as require_dist_cjs10
|
|
8
|
+
} from "./chunk-0crtxf8d.js";
|
|
10
9
|
import {
|
|
11
10
|
require_dist_cjs as require_dist_cjs4,
|
|
12
11
|
require_dist_cjs2 as require_dist_cjs5,
|
|
@@ -15,6 +14,9 @@ import {
|
|
|
15
14
|
import {
|
|
16
15
|
require_dist_cjs
|
|
17
16
|
} from "./chunk-saqpg5nd.js";
|
|
17
|
+
import {
|
|
18
|
+
require_dist_cjs as require_dist_cjs8
|
|
19
|
+
} from "./chunk-2m04vhea.js";
|
|
18
20
|
import {
|
|
19
21
|
__commonJS,
|
|
20
22
|
__require
|
|
@@ -3049,7 +3051,7 @@ var require_dist_cjs28 = __commonJS((exports, module) => {
|
|
|
3049
3051
|
var require_package = __commonJS((exports, module) => {
|
|
3050
3052
|
module.exports = {
|
|
3051
3053
|
name: "@aws-sdk/nested-clients",
|
|
3052
|
-
version: "3.
|
|
3054
|
+
version: "3.777.0",
|
|
3053
3055
|
description: "Nested clients for AWS SDK packages.",
|
|
3054
3056
|
main: "./dist-cjs/index.js",
|
|
3055
3057
|
module: "./dist-es/index.js",
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__commonJS
|
|
3
|
+
} from "./chunk-9v6qtbez.js";
|
|
4
|
+
|
|
5
|
+
// ../../../../node_modules/@smithy/property-provider/dist-cjs/index.js
|
|
6
|
+
var require_dist_cjs = __commonJS((exports, module) => {
|
|
7
|
+
var __defProp = Object.defineProperty;
|
|
8
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
9
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
10
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
11
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
12
|
+
var __export = (target, all) => {
|
|
13
|
+
for (var name in all)
|
|
14
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
15
|
+
};
|
|
16
|
+
var __copyProps = (to, from, except, desc) => {
|
|
17
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
18
|
+
for (let key of __getOwnPropNames(from))
|
|
19
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
20
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
21
|
+
}
|
|
22
|
+
return to;
|
|
23
|
+
};
|
|
24
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
|
+
var src_exports = {};
|
|
26
|
+
__export(src_exports, {
|
|
27
|
+
CredentialsProviderError: () => CredentialsProviderError,
|
|
28
|
+
ProviderError: () => ProviderError,
|
|
29
|
+
TokenProviderError: () => TokenProviderError,
|
|
30
|
+
chain: () => chain,
|
|
31
|
+
fromStatic: () => fromStatic,
|
|
32
|
+
memoize: () => memoize
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(src_exports);
|
|
35
|
+
var ProviderError = class _ProviderError extends Error {
|
|
36
|
+
constructor(message, options = true) {
|
|
37
|
+
let logger;
|
|
38
|
+
let tryNextLink = true;
|
|
39
|
+
if (typeof options === "boolean") {
|
|
40
|
+
logger = undefined;
|
|
41
|
+
tryNextLink = options;
|
|
42
|
+
} else if (options != null && typeof options === "object") {
|
|
43
|
+
logger = options.logger;
|
|
44
|
+
tryNextLink = options.tryNextLink ?? true;
|
|
45
|
+
}
|
|
46
|
+
super(message);
|
|
47
|
+
this.name = "ProviderError";
|
|
48
|
+
this.tryNextLink = tryNextLink;
|
|
49
|
+
Object.setPrototypeOf(this, _ProviderError.prototype);
|
|
50
|
+
logger?.debug?.(`@smithy/property-provider ${tryNextLink ? "->" : "(!)"} ${message}`);
|
|
51
|
+
}
|
|
52
|
+
static {
|
|
53
|
+
__name(this, "ProviderError");
|
|
54
|
+
}
|
|
55
|
+
static from(error, options = true) {
|
|
56
|
+
return Object.assign(new this(error.message, options), error);
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
var CredentialsProviderError = class _CredentialsProviderError extends ProviderError {
|
|
60
|
+
constructor(message, options = true) {
|
|
61
|
+
super(message, options);
|
|
62
|
+
this.name = "CredentialsProviderError";
|
|
63
|
+
Object.setPrototypeOf(this, _CredentialsProviderError.prototype);
|
|
64
|
+
}
|
|
65
|
+
static {
|
|
66
|
+
__name(this, "CredentialsProviderError");
|
|
67
|
+
}
|
|
68
|
+
};
|
|
69
|
+
var TokenProviderError = class _TokenProviderError extends ProviderError {
|
|
70
|
+
constructor(message, options = true) {
|
|
71
|
+
super(message, options);
|
|
72
|
+
this.name = "TokenProviderError";
|
|
73
|
+
Object.setPrototypeOf(this, _TokenProviderError.prototype);
|
|
74
|
+
}
|
|
75
|
+
static {
|
|
76
|
+
__name(this, "TokenProviderError");
|
|
77
|
+
}
|
|
78
|
+
};
|
|
79
|
+
var chain = /* @__PURE__ */ __name((...providers) => async () => {
|
|
80
|
+
if (providers.length === 0) {
|
|
81
|
+
throw new ProviderError("No providers in chain");
|
|
82
|
+
}
|
|
83
|
+
let lastProviderError;
|
|
84
|
+
for (const provider of providers) {
|
|
85
|
+
try {
|
|
86
|
+
const credentials = await provider();
|
|
87
|
+
return credentials;
|
|
88
|
+
} catch (err) {
|
|
89
|
+
lastProviderError = err;
|
|
90
|
+
if (err?.tryNextLink) {
|
|
91
|
+
continue;
|
|
92
|
+
}
|
|
93
|
+
throw err;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
throw lastProviderError;
|
|
97
|
+
}, "chain");
|
|
98
|
+
var fromStatic = /* @__PURE__ */ __name((staticValue) => () => Promise.resolve(staticValue), "fromStatic");
|
|
99
|
+
var memoize = /* @__PURE__ */ __name((provider, isExpired, requiresRefresh) => {
|
|
100
|
+
let resolved;
|
|
101
|
+
let pending;
|
|
102
|
+
let hasResult;
|
|
103
|
+
let isConstant = false;
|
|
104
|
+
const coalesceProvider = /* @__PURE__ */ __name(async () => {
|
|
105
|
+
if (!pending) {
|
|
106
|
+
pending = provider();
|
|
107
|
+
}
|
|
108
|
+
try {
|
|
109
|
+
resolved = await pending;
|
|
110
|
+
hasResult = true;
|
|
111
|
+
isConstant = false;
|
|
112
|
+
} finally {
|
|
113
|
+
pending = undefined;
|
|
114
|
+
}
|
|
115
|
+
return resolved;
|
|
116
|
+
}, "coalesceProvider");
|
|
117
|
+
if (isExpired === undefined) {
|
|
118
|
+
return async (options) => {
|
|
119
|
+
if (!hasResult || options?.forceRefresh) {
|
|
120
|
+
resolved = await coalesceProvider();
|
|
121
|
+
}
|
|
122
|
+
return resolved;
|
|
123
|
+
};
|
|
124
|
+
}
|
|
125
|
+
return async (options) => {
|
|
126
|
+
if (!hasResult || options?.forceRefresh) {
|
|
127
|
+
resolved = await coalesceProvider();
|
|
128
|
+
}
|
|
129
|
+
if (isConstant) {
|
|
130
|
+
return resolved;
|
|
131
|
+
}
|
|
132
|
+
if (requiresRefresh && !requiresRefresh(resolved)) {
|
|
133
|
+
isConstant = true;
|
|
134
|
+
return resolved;
|
|
135
|
+
}
|
|
136
|
+
if (isExpired(resolved)) {
|
|
137
|
+
await coalesceProvider();
|
|
138
|
+
return resolved;
|
|
139
|
+
}
|
|
140
|
+
return resolved;
|
|
141
|
+
};
|
|
142
|
+
}, "memoize");
|
|
143
|
+
});
|
|
144
|
+
|
|
145
|
+
export { require_dist_cjs };
|
|
@@ -35,11 +35,11 @@ import {
|
|
|
35
35
|
resolveUserAgentConfig,
|
|
36
36
|
toBase64,
|
|
37
37
|
toUtf8
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-74nzt2f7.js";
|
|
39
39
|
import {
|
|
40
40
|
loadConfig,
|
|
41
41
|
parseUrl
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-bh25aaf7.js";
|
|
43
43
|
import"./chunk-bf8bq8pc.js";
|
|
44
44
|
import {
|
|
45
45
|
Client,
|
|
@@ -65,15 +65,15 @@ import {
|
|
|
65
65
|
take,
|
|
66
66
|
withBaseException
|
|
67
67
|
} from "./chunk-xt9exr2c.js";
|
|
68
|
-
import"./chunk-zzerxbrm.js";
|
|
69
68
|
import {
|
|
70
69
|
require_dist_cjs,
|
|
71
70
|
require_dist_cjs2,
|
|
72
|
-
|
|
73
|
-
} from "./chunk-
|
|
71
|
+
require_dist_cjs4 as require_dist_cjs3
|
|
72
|
+
} from "./chunk-0crtxf8d.js";
|
|
74
73
|
import"./chunk-a7k3cdby.js";
|
|
75
74
|
import"./chunk-frw3va9v.js";
|
|
76
75
|
import"./chunk-saqpg5nd.js";
|
|
76
|
+
import"./chunk-2m04vhea.js";
|
|
77
77
|
import {
|
|
78
78
|
__toESM
|
|
79
79
|
} from "./chunk-9v6qtbez.js";
|
|
@@ -160,7 +160,7 @@ var commonParams = {
|
|
|
160
160
|
var package_default = {
|
|
161
161
|
name: "@aws-sdk/client-sso",
|
|
162
162
|
description: "AWS SDK for JavaScript Sso Client for Node.js, Browser and React Native",
|
|
163
|
-
version: "3.
|
|
163
|
+
version: "3.777.0",
|
|
164
164
|
scripts: {
|
|
165
165
|
build: "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
166
166
|
"build:cjs": "node ../../scripts/compilation/inline client-sso",
|
|
@@ -19,15 +19,15 @@ import {
|
|
|
19
19
|
require_dist_cjs8 as require_dist_cjs18,
|
|
20
20
|
require_dist_cjs9 as require_dist_cjs19,
|
|
21
21
|
require_package
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2jssg98j.js";
|
|
23
23
|
import {
|
|
24
24
|
require_dist_cjs,
|
|
25
25
|
require_dist_cjs1 as require_dist_cjs2,
|
|
26
26
|
require_dist_cjs2 as require_dist_cjs7,
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
require_dist_cjs3 as require_dist_cjs8,
|
|
28
|
+
require_dist_cjs4 as require_dist_cjs9,
|
|
29
29
|
require_tslib
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-0crtxf8d.js";
|
|
31
31
|
import {
|
|
32
32
|
require_dist_cjs as require_dist_cjs3,
|
|
33
33
|
require_dist_cjs3 as require_dist_cjs4,
|
|
@@ -38,6 +38,7 @@ import {
|
|
|
38
38
|
require_client
|
|
39
39
|
} from "./chunk-frw3va9v.js";
|
|
40
40
|
import"./chunk-saqpg5nd.js";
|
|
41
|
+
import"./chunk-2m04vhea.js";
|
|
41
42
|
import {
|
|
42
43
|
__commonJS
|
|
43
44
|
} from "./chunk-9v6qtbez.js";
|