@adobe/aio-commerce-lib-webhooks 1.1.0 → 1.1.1
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
|
# @adobe/aio-commerce-lib-webhooks
|
|
2
2
|
|
|
3
|
+
## 1.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [[`ec2d426`](https://github.com/adobe/aio-commerce-sdk/commit/ec2d4262166bde68a434025667f38609313ad712)]:
|
|
8
|
+
- @adobe/aio-commerce-lib-api@1.2.1
|
|
9
|
+
- @adobe/aio-commerce-lib-core@1.1.1
|
|
10
|
+
|
|
3
11
|
## 1.1.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/dist/cjs/api/index.cjs
CHANGED
|
@@ -192,7 +192,6 @@ function createCustomCommerceWebhooksApiClient(params, functions) {
|
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
//#endregion
|
|
195
|
-
exports.__toESM = __toESM;
|
|
196
195
|
exports.createCommerceWebhooksApiClient = createCommerceWebhooksApiClient;
|
|
197
196
|
exports.createCustomCommerceWebhooksApiClient = createCustomCommerceWebhooksApiClient;
|
|
198
197
|
exports.getSupportedWebhookList = getSupportedWebhookList;
|
package/dist/cjs/api/index.d.cts
CHANGED
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
* governing permissions and limitations under the License.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import * as _$_adobe_aio_commerce_lib_api0 from "@adobe/aio-commerce-lib-api";
|
|
16
15
|
import { AdobeCommerceHttpClient, ApiFunction, CommerceHttpClientParams } from "@adobe/aio-commerce-lib-api";
|
|
17
16
|
import { Options } from "ky";
|
|
18
17
|
import * as v from "valibot";
|
|
@@ -178,7 +177,7 @@ declare function getSupportedWebhookList(httpClient: AdobeCommerceHttpClient, fe
|
|
|
178
177
|
* Creates a new API client for the Commerce Webhooks API.
|
|
179
178
|
* @param params - The parameters to build the Commerce HTTP client.
|
|
180
179
|
*/
|
|
181
|
-
declare function createCommerceWebhooksApiClient(params: CommerceHttpClientParams):
|
|
180
|
+
declare function createCommerceWebhooksApiClient(params: CommerceHttpClientParams): import("@adobe/aio-commerce-lib-api").ApiClientRecord<AdobeCommerceHttpClient, {
|
|
182
181
|
getWebhookList: typeof getWebhookList;
|
|
183
182
|
subscribeWebhook: typeof subscribeWebhook;
|
|
184
183
|
unsubscribeWebhook: typeof unsubscribeWebhook;
|
|
@@ -194,6 +193,6 @@ type CommerceWebhooksApiClient = ReturnType<typeof createCommerceWebhooksApiClie
|
|
|
194
193
|
* @param params - The parameters to build the Commerce HTTP client.
|
|
195
194
|
* @param functions - The API functions to include in the client.
|
|
196
195
|
*/
|
|
197
|
-
declare function createCustomCommerceWebhooksApiClient<TFunctions extends Record<string, ApiFunction<AdobeCommerceHttpClient, any[], any>>>(params: CommerceHttpClientParams, functions: TFunctions):
|
|
196
|
+
declare function createCustomCommerceWebhooksApiClient<TFunctions extends Record<string, ApiFunction<AdobeCommerceHttpClient, any[], any>>>(params: CommerceHttpClientParams, functions: TFunctions): import("@adobe/aio-commerce-lib-api").ApiClientRecord<AdobeCommerceHttpClient, TFunctions>;
|
|
198
197
|
//#endregion
|
|
199
198
|
export { type CommerceSupportedWebhook, type CommerceSupportedWebhookManyResponse, type CommerceWebhook, type CommerceWebhookDeveloperConsoleOAuth, type CommerceWebhookField, type CommerceWebhookHeader, type CommerceWebhookManyResponse, type CommerceWebhookRule, type CommerceWebhooksApiClient, type WebhookSubscribeParams, type WebhookUnsubscribeParams, createCommerceWebhooksApiClient, createCustomCommerceWebhooksApiClient, getSupportedWebhookList, getWebhookList, subscribeWebhook, unsubscribeWebhook };
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
16
|
-
const require_api_index = require('../api/index.cjs');
|
|
17
16
|
let _adobe_aio_commerce_lib_core_responses = require("@adobe/aio-commerce-lib-core/responses");
|
|
18
17
|
|
|
19
18
|
//#region source/responses/operations/presets.ts
|
package/dist/es/api/index.d.mts
CHANGED
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
* governing permissions and limitations under the License.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
import * as _$_adobe_aio_commerce_lib_api0 from "@adobe/aio-commerce-lib-api";
|
|
16
15
|
import { AdobeCommerceHttpClient, ApiFunction, CommerceHttpClientParams } from "@adobe/aio-commerce-lib-api";
|
|
17
16
|
import * as v from "valibot";
|
|
18
17
|
import { Options } from "ky";
|
|
@@ -178,7 +177,7 @@ declare function getSupportedWebhookList(httpClient: AdobeCommerceHttpClient, fe
|
|
|
178
177
|
* Creates a new API client for the Commerce Webhooks API.
|
|
179
178
|
* @param params - The parameters to build the Commerce HTTP client.
|
|
180
179
|
*/
|
|
181
|
-
declare function createCommerceWebhooksApiClient(params: CommerceHttpClientParams):
|
|
180
|
+
declare function createCommerceWebhooksApiClient(params: CommerceHttpClientParams): import("@adobe/aio-commerce-lib-api").ApiClientRecord<AdobeCommerceHttpClient, {
|
|
182
181
|
getWebhookList: typeof getWebhookList;
|
|
183
182
|
subscribeWebhook: typeof subscribeWebhook;
|
|
184
183
|
unsubscribeWebhook: typeof unsubscribeWebhook;
|
|
@@ -194,6 +193,6 @@ type CommerceWebhooksApiClient = ReturnType<typeof createCommerceWebhooksApiClie
|
|
|
194
193
|
* @param params - The parameters to build the Commerce HTTP client.
|
|
195
194
|
* @param functions - The API functions to include in the client.
|
|
196
195
|
*/
|
|
197
|
-
declare function createCustomCommerceWebhooksApiClient<TFunctions extends Record<string, ApiFunction<AdobeCommerceHttpClient, any[], any>>>(params: CommerceHttpClientParams, functions: TFunctions):
|
|
196
|
+
declare function createCustomCommerceWebhooksApiClient<TFunctions extends Record<string, ApiFunction<AdobeCommerceHttpClient, any[], any>>>(params: CommerceHttpClientParams, functions: TFunctions): import("@adobe/aio-commerce-lib-api").ApiClientRecord<AdobeCommerceHttpClient, TFunctions>;
|
|
198
197
|
//#endregion
|
|
199
198
|
export { type CommerceSupportedWebhook, type CommerceSupportedWebhookManyResponse, type CommerceWebhook, type CommerceWebhookDeveloperConsoleOAuth, type CommerceWebhookField, type CommerceWebhookHeader, type CommerceWebhookManyResponse, type CommerceWebhookRule, type CommerceWebhooksApiClient, type WebhookSubscribeParams, type WebhookUnsubscribeParams, createCommerceWebhooksApiClient, createCustomCommerceWebhooksApiClient, getSupportedWebhookList, getWebhookList, subscribeWebhook, unsubscribeWebhook };
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@adobe/aio-commerce-lib-webhooks",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"author": "Adobe Inc.",
|
|
5
|
-
"version": "1.1.
|
|
5
|
+
"version": "1.1.1",
|
|
6
6
|
"private": false,
|
|
7
7
|
"engines": {
|
|
8
8
|
"node": ">=22 <=24"
|
|
@@ -24,6 +24,10 @@
|
|
|
24
24
|
"url": "git+https://github.com/adobe/aio-commerce-sdk.git",
|
|
25
25
|
"directory": "packages/aio-commerce-lib-webhooks"
|
|
26
26
|
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"registry": "https://registry.npmjs.org",
|
|
29
|
+
"access": "public"
|
|
30
|
+
},
|
|
27
31
|
"exports": {
|
|
28
32
|
"./api": {
|
|
29
33
|
"import": {
|
|
@@ -60,8 +64,8 @@
|
|
|
60
64
|
"dependencies": {
|
|
61
65
|
"ky": "^1.9.0",
|
|
62
66
|
"valibot": "^1.1.0",
|
|
63
|
-
"@adobe/aio-commerce-lib-api": "1.2.
|
|
64
|
-
"@adobe/aio-commerce-lib-core": "1.1.
|
|
67
|
+
"@adobe/aio-commerce-lib-api": "1.2.1",
|
|
68
|
+
"@adobe/aio-commerce-lib-core": "1.1.1"
|
|
65
69
|
},
|
|
66
70
|
"devDependencies": {
|
|
67
71
|
"typescript": "^6.0.0",
|
|
@@ -69,7 +73,7 @@
|
|
|
69
73
|
"@aio-commerce-sdk/config-tsdown": "1.0.1",
|
|
70
74
|
"@aio-commerce-sdk/config-typescript": "1.0.0",
|
|
71
75
|
"@aio-commerce-sdk/config-vitest": "1.0.0",
|
|
72
|
-
"@aio-commerce-sdk/scripting-utils": "0.3.
|
|
76
|
+
"@aio-commerce-sdk/scripting-utils": "0.3.3",
|
|
73
77
|
"@aio-commerce-sdk/scripts": "0.1.0"
|
|
74
78
|
},
|
|
75
79
|
"sideEffects": false,
|