@lightsparkdev/lightspark-sdk 1.5.12 → 1.5.13

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @lightsparkdev/lightspark-sdk
2
2
 
3
+ ## 1.5.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [fda487d]
8
+ - @lightsparkdev/core@1.1.0
9
+
3
10
  ## 1.5.12
4
11
 
5
12
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -1984,7 +1984,7 @@ var import_core9 = require("@lightsparkdev/core");
1984
1984
  // package.json
1985
1985
  var package_default = {
1986
1986
  name: "@lightsparkdev/lightspark-sdk",
1987
- version: "1.5.12",
1987
+ version: "1.5.13",
1988
1988
  description: "Lightspark JS SDK",
1989
1989
  author: "Lightspark Inc.",
1990
1990
  keywords: [
@@ -2069,7 +2069,7 @@ var package_default = {
2069
2069
  },
2070
2070
  license: "Apache-2.0",
2071
2071
  dependencies: {
2072
- "@lightsparkdev/core": "1.0.22",
2072
+ "@lightsparkdev/core": "1.1.0",
2073
2073
  "@lightsparkdev/crypto-wasm": "0.1.3",
2074
2074
  "crypto-browserify": "^3.12.0",
2075
2075
  dayjs: "^1.11.7",
package/dist/index.js CHANGED
@@ -147,7 +147,7 @@ import {
147
147
  // package.json
148
148
  var package_default = {
149
149
  name: "@lightsparkdev/lightspark-sdk",
150
- version: "1.5.12",
150
+ version: "1.5.13",
151
151
  description: "Lightspark JS SDK",
152
152
  author: "Lightspark Inc.",
153
153
  keywords: [
@@ -232,7 +232,7 @@ var package_default = {
232
232
  },
233
233
  license: "Apache-2.0",
234
234
  dependencies: {
235
- "@lightsparkdev/core": "1.0.22",
235
+ "@lightsparkdev/core": "1.1.0",
236
236
  "@lightsparkdev/crypto-wasm": "0.1.3",
237
237
  "crypto-browserify": "^3.12.0",
238
238
  dayjs: "^1.11.7",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightsparkdev/lightspark-sdk",
3
- "version": "1.5.12",
3
+ "version": "1.5.13",
4
4
  "description": "Lightspark JS SDK",
5
5
  "author": "Lightspark Inc.",
6
6
  "keywords": [
@@ -85,7 +85,7 @@
85
85
  },
86
86
  "license": "Apache-2.0",
87
87
  "dependencies": {
88
- "@lightsparkdev/core": "1.0.22",
88
+ "@lightsparkdev/core": "1.1.0",
89
89
  "@lightsparkdev/crypto-wasm": "0.1.3",
90
90
  "crypto-browserify": "^3.12.0",
91
91
  "dayjs": "^1.11.7",
package/src/env.ts CHANGED
@@ -39,10 +39,10 @@ export const getCredentialsFromEnvOrThrow = (): EnvCredentials => {
39
39
  );
40
40
  }
41
41
 
42
- const apiTokenClientId = env[RequiredCredentials.ClientId]!;
43
- const apiTokenClientSecret = env[RequiredCredentials.ClientSecret]!;
42
+ const apiTokenClientId = env[RequiredCredentials.ClientId];
43
+ const apiTokenClientSecret = env[RequiredCredentials.ClientSecret];
44
44
  const bitcoinNetwork = getBitcoinNetworkOrThrow(
45
- env[RequiredCredentials.BitcoinNetwork]! as BitcoinNetwork,
45
+ env[RequiredCredentials.BitcoinNetwork] as BitcoinNetwork,
46
46
  );
47
47
  const testNodePassword = "1234!@#$";
48
48
  const baseUrl = env["LIGHTSPARK_BASE_URL"] || "api.lightspark.com";