@brigadasos/nadeshiko-sdk 2.2.0-internal.fce7d00 → 2.2.1-internal.53bb652
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.cjs
CHANGED
|
@@ -1587,7 +1587,8 @@ async function* flatPaginate(params, fn, extract) {
|
|
|
1587
1587
|
// generated/internal/nadeshiko.gen.ts
|
|
1588
1588
|
var environments = {
|
|
1589
1589
|
LOCAL: "http://localhost:5000/api",
|
|
1590
|
-
DEVELOPMENT: "https://api-
|
|
1590
|
+
DEVELOPMENT: "https://api-stg.nadeshiko.co",
|
|
1591
|
+
STAGING: "https://api-stg.nadeshiko.co",
|
|
1591
1592
|
PRODUCTION: "https://api.nadeshiko.co",
|
|
1592
1593
|
PROXY: ""
|
|
1593
1594
|
};
|
|
@@ -1609,7 +1610,7 @@ function createNadeshikoClient(config) {
|
|
|
1609
1610
|
const getSessionToken = config.sessionToken ?? defaultSessionTokenGetter;
|
|
1610
1611
|
const clientInstance = createClient(createConfig({
|
|
1611
1612
|
baseUrl,
|
|
1612
|
-
headers: { "User-Agent": "nadeshiko-sdk-ts/2.
|
|
1613
|
+
headers: { "User-Agent": "nadeshiko-sdk-ts/2.2.0", ...config.headers },
|
|
1613
1614
|
fetch: withRetry(globalThis.fetch, config.retryOptions),
|
|
1614
1615
|
auth: (auth) => {
|
|
1615
1616
|
if (auth.in === "cookie") {
|
|
@@ -2212,5 +2213,5 @@ __export(exports_admin_gen, {
|
|
|
2212
2213
|
batchUpdateAdminReports: () => batchUpdateAdminReports
|
|
2213
2214
|
});
|
|
2214
2215
|
|
|
2215
|
-
//# debugId=
|
|
2216
|
+
//# debugId=AE1B81017D3E1A9B64756E2164756E21
|
|
2216
2217
|
//# sourceMappingURL=index.js.map
|