@lightsparkdev/lightspark-sdk 1.5.13 → 1.5.14

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,13 @@
1
1
  # @lightsparkdev/lightspark-sdk
2
2
 
3
+ ## 1.5.14
4
+
5
+ ### Patch Changes
6
+
7
+ - b855251: - Update to latest in remote signing wasm
8
+ - Updated dependencies [b855251]
9
+ - @lightsparkdev/crypto-wasm@0.1.4
10
+
3
11
  ## 1.5.13
4
12
 
5
13
  ### 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.13",
1987
+ version: "1.5.14",
1988
1988
  description: "Lightspark JS SDK",
1989
1989
  author: "Lightspark Inc.",
1990
1990
  keywords: [
@@ -2070,7 +2070,7 @@ var package_default = {
2070
2070
  license: "Apache-2.0",
2071
2071
  dependencies: {
2072
2072
  "@lightsparkdev/core": "1.1.0",
2073
- "@lightsparkdev/crypto-wasm": "0.1.3",
2073
+ "@lightsparkdev/crypto-wasm": "0.1.4",
2074
2074
  "crypto-browserify": "^3.12.0",
2075
2075
  dayjs: "^1.11.7",
2076
2076
  dotenv: "^16.3.1",
@@ -14722,6 +14722,9 @@ var RemoteSigningWebhookHandler = class {
14722
14722
  this.#masterSeed,
14723
14723
  this.validator
14724
14724
  );
14725
+ if (!response) {
14726
+ return;
14727
+ }
14725
14728
  const variables = JSON.parse(response.variables);
14726
14729
  return this.client.executeRawQuery({
14727
14730
  queryPayload: response.query,
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.13",
150
+ version: "1.5.14",
151
151
  description: "Lightspark JS SDK",
152
152
  author: "Lightspark Inc.",
153
153
  keywords: [
@@ -233,7 +233,7 @@ var package_default = {
233
233
  license: "Apache-2.0",
234
234
  dependencies: {
235
235
  "@lightsparkdev/core": "1.1.0",
236
- "@lightsparkdev/crypto-wasm": "0.1.3",
236
+ "@lightsparkdev/crypto-wasm": "0.1.4",
237
237
  "crypto-browserify": "^3.12.0",
238
238
  dayjs: "^1.11.7",
239
239
  dotenv: "^16.3.1",
@@ -2339,6 +2339,9 @@ var RemoteSigningWebhookHandler = class {
2339
2339
  this.#masterSeed,
2340
2340
  this.validator
2341
2341
  );
2342
+ if (!response) {
2343
+ return;
2344
+ }
2342
2345
  const variables = JSON.parse(response.variables);
2343
2346
  return this.client.executeRawQuery({
2344
2347
  queryPayload: response.query,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lightsparkdev/lightspark-sdk",
3
- "version": "1.5.13",
3
+ "version": "1.5.14",
4
4
  "description": "Lightspark JS SDK",
5
5
  "author": "Lightspark Inc.",
6
6
  "keywords": [
@@ -86,7 +86,7 @@
86
86
  "license": "Apache-2.0",
87
87
  "dependencies": {
88
88
  "@lightsparkdev/core": "1.1.0",
89
- "@lightsparkdev/crypto-wasm": "0.1.3",
89
+ "@lightsparkdev/crypto-wasm": "0.1.4",
90
90
  "crypto-browserify": "^3.12.0",
91
91
  "dayjs": "^1.11.7",
92
92
  "dotenv": "^16.3.1",
package/src/webhooks.ts CHANGED
@@ -86,6 +86,9 @@ export class RemoteSigningWebhookHandler {
86
86
  this.#masterSeed,
87
87
  this.validator,
88
88
  );
89
+ if (!response) {
90
+ return;
91
+ }
89
92
  const variables = JSON.parse(response.variables);
90
93
  return this.client.executeRawQuery({
91
94
  queryPayload: response.query,