@stone-js/tencent-scf-adapter 0.8.6 → 0.8.8

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/dist/index.js +9 -9
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -234,15 +234,6 @@ class TencentScfErrorHandler {
234
234
  }
235
235
  }
236
236
 
237
- /**
238
- * A constant representing the Tencent SCF platform identifier.
239
- *
240
- * This constant is used as an alias for the Tencent SCF Adapter within the Stone.js framework.
241
- * It helps in identifying and configuring platform-specific adapters or components for handling
242
- * incoming requests and responses.
243
- */
244
- const TENCENT_SCF_PLATFORM = 'tencent_scf';
245
-
246
237
  /**
247
238
  * Adapter resolver for generic Tencent SCF adapter.
248
239
  *
@@ -255,6 +246,15 @@ const tencentScfAdapterResolver = (blueprint) => {
255
246
  return TencentScfAdapter.create(blueprint);
256
247
  };
257
248
 
249
+ /**
250
+ * A constant representing the Tencent SCF platform identifier.
251
+ *
252
+ * This constant is used as an alias for the Tencent SCF Adapter within the Stone.js framework.
253
+ * It helps in identifying and configuring platform-specific adapters or components for handling
254
+ * incoming requests and responses.
255
+ */
256
+ const TENCENT_SCF_PLATFORM = 'tencent_scf';
257
+
258
258
  /**
259
259
  * Middleware to dynamically set response resolver for adapter.
260
260
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stone-js/tencent-scf-adapter",
3
- "version": "0.8.6",
3
+ "version": "0.8.8",
4
4
  "description": "General-purpose Tencent Cloud SCF adapter for Stone.js, run any app on event-driven Serverless Cloud Function triggers, beyond HTTP. Supports COS, CMQ/TDMQ, Timer and CKafka.",
5
5
  "author": "Mr. Stone <evensstone@gmail.com>",
6
6
  "license": "MIT",
@@ -42,11 +42,11 @@
42
42
  "node": ">=18.17.0"
43
43
  },
44
44
  "peerDependencies": {
45
- "@stone-js/core": "0.8.6",
46
- "@stone-js/env": "0.8.6"
45
+ "@stone-js/core": "0.8.8",
46
+ "@stone-js/env": "0.8.8"
47
47
  },
48
48
  "dependencies": {
49
- "@stone-js/config": "0.8.6"
49
+ "@stone-js/config": "0.8.8"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@commitlint/cli": "^19.8.1",