@stone-js/tencent-scf-adapter 0.8.7 → 0.8.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.
@@ -1,4 +1,4 @@
1
- import { RawResponse } from './declarations';
1
+ import { RawResponse } from './declarations.js';
2
2
  import { IRawResponseWrapper, RawResponseOptions } from '@stone-js/core';
3
3
  /**
4
4
  * Wrapper for generic raw responses.
@@ -1,4 +1,4 @@
1
- import { RawResponse, TencentScfEvent, TencentScfContext, TencentScfAdapterContext, TencentScfEventHandlerFunction } from './declarations';
1
+ import { RawResponse, TencentScfEvent, TencentScfContext, TencentScfAdapterContext, TencentScfEventHandlerFunction } from './declarations.js';
2
2
  import { Adapter, IBlueprint, IncomingEvent, OutgoingResponse, IncomingEventOptions } from '@stone-js/core';
3
3
  /**
4
4
  * Tencent SCF Adapter for Stone.js.
@@ -1,5 +1,5 @@
1
1
  import { IBlueprint, AdapterErrorContext, IAdapterErrorHandler, AdapterEventBuilderType } from '@stone-js/core';
2
- import { TencentScfContext, TencentScfEvent, RawResponse } from './declarations';
2
+ import { TencentScfContext, TencentScfEvent, RawResponse } from './declarations.js';
3
3
  /**
4
4
  * TencentScfErrorHandler options.
5
5
  */
@@ -1,4 +1,4 @@
1
- import { RawResponseWrapper } from './RawResponseWrapper';
1
+ import { RawResponseWrapper } from './RawResponseWrapper.js';
2
2
  import { AdapterContext, IAdapterEventBuilder, IncomingEvent, IncomingEventOptions, OutgoingResponse, RawResponseOptions } from '@stone-js/core';
3
3
  /**
4
4
  * Represents a generic raw response as a key-value pair.
@@ -1,5 +1,5 @@
1
1
  import { ClassType } from '@stone-js/core';
2
- import { TencentScfAdapterAdapterConfig } from '../options/TencentScfAdapterBlueprint';
2
+ import { TencentScfAdapterAdapterConfig } from '../options/TencentScfAdapterBlueprint.js';
3
3
  /**
4
4
  * Configuration options for the `TencentScf` decorator.
5
5
  * These options extend the default Tencent SCF adapter configuration.
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
- export * from './RawResponseWrapper';
2
- export * from './TencentScfAdapter';
3
- export * from './TencentScfErrorHandler';
4
- export * from './constants';
5
- export * from './declarations';
6
- export * from './decorators/TencentScf';
7
- export * from './errors/TencentScfAdapterError';
8
- export * from './middleware/BlueprintMiddleware';
9
- export * from './middleware/IncomingEventMiddleware';
10
- export * from './options/TencentScfAdapterBlueprint';
11
- export * from './resolvers';
1
+ export * from './RawResponseWrapper.js';
2
+ export * from './TencentScfAdapter.js';
3
+ export * from './TencentScfErrorHandler.js';
4
+ export * from './constants.js';
5
+ export * from './declarations.js';
6
+ export * from './decorators/TencentScf.js';
7
+ export * from './errors/TencentScfAdapterError.js';
8
+ export * from './middleware/BlueprintMiddleware.js';
9
+ export * from './middleware/IncomingEventMiddleware.js';
10
+ export * from './options/TencentScfAdapterBlueprint.js';
11
+ export * from './resolvers.js';
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { IntegrationError, Adapter, AdapterEventBuilder, IncomingEvent, defaultLoggerResolver, OutgoingResponse, defaultKernelResolver, isNotEmpty, classDecoratorLegacyWrapper, addBlueprint } from '@stone-js/core';
2
- import { getString } from '@stone-js/env';
3
2
  import { cloneValue, deepMerge } from '@stone-js/config';
3
+ import { getString } from '@stone-js/env';
4
4
 
5
5
  /**
6
6
  * Wrapper for generic raw responses.
@@ -1,5 +1,5 @@
1
1
  import { NextMiddleware, type MetaMiddleware } from '@stone-js/core';
2
- import { TencentScfAdapterContext, TencentScfAdapterResponseBuilder } from '../declarations';
2
+ import { TencentScfAdapterContext, TencentScfAdapterResponseBuilder } from '../declarations.js';
3
3
  /**
4
4
  * Middleware for handling incoming events and transforming them into Stone.js events.
5
5
  *
@@ -1,4 +1,4 @@
1
- import { TencentScfContext, TencentScfEvent, RawResponse } from '../declarations';
1
+ import { TencentScfContext, TencentScfEvent, RawResponse } from '../declarations.js';
2
2
  import { AdapterConfig, IncomingEvent, IncomingEventOptions, OutgoingResponse, StoneBlueprint } from '@stone-js/core';
3
3
  /**
4
4
  * Configuration interface for the Tencent SCF Adapter.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stone-js/tencent-scf-adapter",
3
- "version": "0.8.7",
3
+ "version": "0.8.9",
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.7",
46
- "@stone-js/env": "0.8.7"
45
+ "@stone-js/core": "0.8.9",
46
+ "@stone-js/env": "0.8.9"
47
47
  },
48
48
  "dependencies": {
49
- "@stone-js/config": "0.8.7"
49
+ "@stone-js/config": "0.8.9"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@commitlint/cli": "^19.8.1",