@kmlckj/licos-platform-sdk 0.6.1 → 0.6.2

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/database.js +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kmlckj/licos-platform-sdk",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "LICOS platform SDK package shell for browser and Node runtimes",
5
5
  "author": "kmlckj",
6
6
  "type": "module",
package/src/database.js CHANGED
@@ -2,7 +2,7 @@ import { ApiError } from './shared.js';
2
2
  import { authHeaders, runtimeConfig } from './runtime.js';
3
3
 
4
4
  function databaseConfig() {
5
- return runtimeConfig({ environmentOverrideEnv: 'LICOS_DATABASE_ENVIRONMENT' });
5
+ return runtimeConfig();
6
6
  }
7
7
 
8
8
  function databaseUrl(config, route) {
@@ -134,7 +134,7 @@ export async function transaction(operations) {
134
134
  type: operation.type,
135
135
  request: {
136
136
  ...operation.request,
137
- environment: operation.request?.environment || config.environment,
137
+ environment: config.environment,
138
138
  },
139
139
  }));
140
140
  return requestJson('/transaction', { operations: normalized });