@blocklet/payment-js 1.22.8 → 1.22.9

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/lib/resource.js +3 -1
  2. package/package.json +5 -5
package/lib/resource.js CHANGED
@@ -116,7 +116,9 @@ function setupAsyncComponentListener(callback) {
116
116
  }
117
117
  }
118
118
  };
119
- notification_1.default.on(constant_1.BlockletInternalEvents.componentStarted, checkAndExecute);
119
+ notification_1.default.on(constant_1.BlockletInternalEvents.componentStarted, checkAndExecute).catch((err) => {
120
+ config_1.logger.error('failed to setup async component listener', err);
121
+ });
120
122
  });
121
123
  }
122
124
  async function ensureStart(callback, wait = false) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/payment-js",
3
- "version": "1.22.8",
3
+ "version": "1.22.9",
4
4
  "description": "Node.js client for Payment Kit",
5
5
  "keywords": [
6
6
  "types",
@@ -36,9 +36,9 @@
36
36
  "url": "https://github.com/blocklet/payment-kit/issues"
37
37
  },
38
38
  "dependencies": {
39
- "@blocklet/constant": "^1.17.0",
40
- "@blocklet/payment-types": "1.22.8",
41
- "@blocklet/sdk": "^1.17.0"
39
+ "@blocklet/constant": "^1.17.1",
40
+ "@blocklet/payment-types": "1.22.9",
41
+ "@blocklet/sdk": "^1.17.1"
42
42
  },
43
43
  "importSort": {
44
44
  ".js, .jsx, .mjs": {
@@ -64,5 +64,5 @@
64
64
  "type-fest": "^4.41.0",
65
65
  "typescript": "5.5.4"
66
66
  },
67
- "gitHead": "14f70c4a934ae339a0a1e43bd84906015ca42138"
67
+ "gitHead": "9614e353a90ac740da61b9f97db6456ee8a0279b"
68
68
  }