@brigadasos/nadeshiko-sdk 2.2.0-internal.fce7d00 → 2.2.1-internal
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.cjs +4 -3
- package/dist/index.cjs.map +3 -3
- package/dist/index.js +4 -3
- package/dist/index.js.map +3 -3
- package/dist/nadeshiko.gen.d.ts +3 -3
- package/dist/nadeshiko.gen.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1482,7 +1482,8 @@ async function* flatPaginate(params, fn, extract) {
|
|
|
1482
1482
|
// generated/internal/nadeshiko.gen.ts
|
|
1483
1483
|
var environments = {
|
|
1484
1484
|
LOCAL: "http://localhost:5000/api",
|
|
1485
|
-
DEVELOPMENT: "https://api-
|
|
1485
|
+
DEVELOPMENT: "https://api-stg.nadeshiko.co",
|
|
1486
|
+
STAGING: "https://api-stg.nadeshiko.co",
|
|
1486
1487
|
PRODUCTION: "https://api.nadeshiko.co",
|
|
1487
1488
|
PROXY: ""
|
|
1488
1489
|
};
|
|
@@ -1504,7 +1505,7 @@ function createNadeshikoClient(config) {
|
|
|
1504
1505
|
const getSessionToken = config.sessionToken ?? defaultSessionTokenGetter;
|
|
1505
1506
|
const clientInstance = createClient(createConfig({
|
|
1506
1507
|
baseUrl,
|
|
1507
|
-
headers: { "User-Agent": "nadeshiko-sdk-ts/2.
|
|
1508
|
+
headers: { "User-Agent": "nadeshiko-sdk-ts/2.2.0", ...config.headers },
|
|
1508
1509
|
fetch: withRetry(globalThis.fetch, config.retryOptions),
|
|
1509
1510
|
auth: (auth) => {
|
|
1510
1511
|
if (auth.in === "cookie") {
|
|
@@ -2185,5 +2186,5 @@ export {
|
|
|
2185
2186
|
NadeshikoError
|
|
2186
2187
|
};
|
|
2187
2188
|
|
|
2188
|
-
//# debugId=
|
|
2189
|
+
//# debugId=306F0F71C8509B1F64756E2164756E21
|
|
2189
2190
|
//# sourceMappingURL=index.js.map
|