@shopware-ag/app-server-sdk 1.1.27 → 1.1.29

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,7 +1,7 @@
1
1
  export { AppServer } from "./app.js";
2
2
  export { InMemoryShopRepository, SimpleShop } from "./repository.js";
3
3
  export type { ShopInterface, ShopRepositoryInterface } from "./repository.js";
4
- export { HttpClient, HttpClientResponse, ApiClientAuthenticationFailed, ApiClientRequestFailed, } from "./http-client.js";
4
+ export { HttpClient, HttpClientResponse, ApiClientAuthenticationFailed, ApiClientRequestFailed, InMemoryHttpClientTokenCache, HttpClientTokenCacheInterface } from "./http-client.js";
5
5
  export { Context } from "./context-resolver.js";
6
6
  export { ShopAuthorizeEvent, AppInstallEvent, AppActivateEvent, AppDeactivateEvent, AppUpdateEvent, AppUninstallEvent, BeforeRegistrationEvent, } from "./registration.js";
7
7
  //# sourceMappingURL=mod.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../src/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACrE,YAAY,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EACN,UAAU,EACV,kBAAkB,EAClB,6BAA6B,EAC7B,sBAAsB,GACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACN,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,uBAAuB,GACvB,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../src/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACrE,YAAY,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EACN,UAAU,EACV,kBAAkB,EAClB,6BAA6B,EAC7B,sBAAsB,EACtB,4BAA4B,EAC5B,6BAA6B,EAC7B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACN,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,uBAAuB,GACvB,MAAM,mBAAmB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BeforeRegistrationEvent = exports.AppUninstallEvent = exports.AppUpdateEvent = exports.AppDeactivateEvent = exports.AppActivateEvent = exports.AppInstallEvent = exports.ShopAuthorizeEvent = exports.Context = exports.ApiClientRequestFailed = exports.ApiClientAuthenticationFailed = exports.HttpClientResponse = exports.HttpClient = exports.SimpleShop = exports.InMemoryShopRepository = exports.AppServer = void 0;
3
+ exports.BeforeRegistrationEvent = exports.AppUninstallEvent = exports.AppUpdateEvent = exports.AppDeactivateEvent = exports.AppActivateEvent = exports.AppInstallEvent = exports.ShopAuthorizeEvent = exports.Context = exports.InMemoryHttpClientTokenCache = exports.ApiClientRequestFailed = exports.ApiClientAuthenticationFailed = exports.HttpClientResponse = exports.HttpClient = exports.SimpleShop = exports.InMemoryShopRepository = exports.AppServer = void 0;
4
4
  var app_js_1 = require("./app.js");
5
5
  Object.defineProperty(exports, "AppServer", { enumerable: true, get: function () { return app_js_1.AppServer; } });
6
6
  var repository_js_1 = require("./repository.js");
@@ -11,6 +11,7 @@ Object.defineProperty(exports, "HttpClient", { enumerable: true, get: function (
11
11
  Object.defineProperty(exports, "HttpClientResponse", { enumerable: true, get: function () { return http_client_js_1.HttpClientResponse; } });
12
12
  Object.defineProperty(exports, "ApiClientAuthenticationFailed", { enumerable: true, get: function () { return http_client_js_1.ApiClientAuthenticationFailed; } });
13
13
  Object.defineProperty(exports, "ApiClientRequestFailed", { enumerable: true, get: function () { return http_client_js_1.ApiClientRequestFailed; } });
14
+ Object.defineProperty(exports, "InMemoryHttpClientTokenCache", { enumerable: true, get: function () { return http_client_js_1.InMemoryHttpClientTokenCache; } });
14
15
  var context_resolver_js_1 = require("./context-resolver.js");
15
16
  Object.defineProperty(exports, "Context", { enumerable: true, get: function () { return context_resolver_js_1.Context; } });
16
17
  var registration_js_1 = require("./registration.js");
@@ -1 +1 @@
1
- {"version":3,"file":"mod.js","sourceRoot":"","sources":["../../src/mod.ts"],"names":[],"mappings":";;;AAAA,mCAAqC;AAA5B,mGAAA,SAAS,OAAA;AAClB,iDAAqE;AAA5D,uHAAA,sBAAsB,OAAA;AAAE,2GAAA,UAAU,OAAA;AAE3C,mDAK0B;AAJzB,4GAAA,UAAU,OAAA;AACV,oHAAA,kBAAkB,OAAA;AAClB,+HAAA,6BAA6B,OAAA;AAC7B,wHAAA,sBAAsB,OAAA;AAEvB,6DAAgD;AAAvC,8GAAA,OAAO,OAAA;AAChB,qDAQ2B;AAP1B,qHAAA,kBAAkB,OAAA;AAClB,kHAAA,eAAe,OAAA;AACf,mHAAA,gBAAgB,OAAA;AAChB,qHAAA,kBAAkB,OAAA;AAClB,iHAAA,cAAc,OAAA;AACd,oHAAA,iBAAiB,OAAA;AACjB,0HAAA,uBAAuB,OAAA","sourcesContent":["export { AppServer } from \"./app.js\";\nexport { InMemoryShopRepository, SimpleShop } from \"./repository.js\";\nexport type { ShopInterface, ShopRepositoryInterface } from \"./repository.js\";\nexport {\n\tHttpClient,\n\tHttpClientResponse,\n\tApiClientAuthenticationFailed,\n\tApiClientRequestFailed,\n} from \"./http-client.js\";\nexport { Context } from \"./context-resolver.js\";\nexport {\n\tShopAuthorizeEvent,\n\tAppInstallEvent,\n\tAppActivateEvent,\n\tAppDeactivateEvent,\n\tAppUpdateEvent,\n\tAppUninstallEvent,\n\tBeforeRegistrationEvent,\n} from \"./registration.js\";\n"]}
1
+ {"version":3,"file":"mod.js","sourceRoot":"","sources":["../../src/mod.ts"],"names":[],"mappings":";;;AAAA,mCAAqC;AAA5B,mGAAA,SAAS,OAAA;AAClB,iDAAqE;AAA5D,uHAAA,sBAAsB,OAAA;AAAE,2GAAA,UAAU,OAAA;AAE3C,mDAO0B;AANzB,4GAAA,UAAU,OAAA;AACV,oHAAA,kBAAkB,OAAA;AAClB,+HAAA,6BAA6B,OAAA;AAC7B,wHAAA,sBAAsB,OAAA;AACtB,8HAAA,4BAA4B,OAAA;AAG7B,6DAAgD;AAAvC,8GAAA,OAAO,OAAA;AAChB,qDAQ2B;AAP1B,qHAAA,kBAAkB,OAAA;AAClB,kHAAA,eAAe,OAAA;AACf,mHAAA,gBAAgB,OAAA;AAChB,qHAAA,kBAAkB,OAAA;AAClB,iHAAA,cAAc,OAAA;AACd,oHAAA,iBAAiB,OAAA;AACjB,0HAAA,uBAAuB,OAAA","sourcesContent":["export { AppServer } from \"./app.js\";\nexport { InMemoryShopRepository, SimpleShop } from \"./repository.js\";\nexport type { ShopInterface, ShopRepositoryInterface } from \"./repository.js\";\nexport {\n\tHttpClient,\n\tHttpClientResponse,\n\tApiClientAuthenticationFailed,\n\tApiClientRequestFailed,\n\tInMemoryHttpClientTokenCache,\n\tHttpClientTokenCacheInterface\n} from \"./http-client.js\";\nexport { Context } from \"./context-resolver.js\";\nexport {\n\tShopAuthorizeEvent,\n\tAppInstallEvent,\n\tAppActivateEvent,\n\tAppDeactivateEvent,\n\tAppUpdateEvent,\n\tAppUninstallEvent,\n\tBeforeRegistrationEvent,\n} from \"./registration.js\";\n"]}
package/dist/esm/mod.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { AppServer } from "./app.js";
2
2
  export { InMemoryShopRepository, SimpleShop } from "./repository.js";
3
3
  export type { ShopInterface, ShopRepositoryInterface } from "./repository.js";
4
- export { HttpClient, HttpClientResponse, ApiClientAuthenticationFailed, ApiClientRequestFailed, } from "./http-client.js";
4
+ export { HttpClient, HttpClientResponse, ApiClientAuthenticationFailed, ApiClientRequestFailed, InMemoryHttpClientTokenCache, HttpClientTokenCacheInterface } from "./http-client.js";
5
5
  export { Context } from "./context-resolver.js";
6
6
  export { ShopAuthorizeEvent, AppInstallEvent, AppActivateEvent, AppDeactivateEvent, AppUpdateEvent, AppUninstallEvent, BeforeRegistrationEvent, } from "./registration.js";
7
7
  //# sourceMappingURL=mod.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../src/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACrE,YAAY,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EACN,UAAU,EACV,kBAAkB,EAClB,6BAA6B,EAC7B,sBAAsB,GACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACN,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,uBAAuB,GACvB,MAAM,mBAAmB,CAAC"}
1
+ {"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../../src/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AACrE,YAAY,EAAE,aAAa,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC9E,OAAO,EACN,UAAU,EACV,kBAAkB,EAClB,6BAA6B,EAC7B,sBAAsB,EACtB,4BAA4B,EAC5B,6BAA6B,EAC7B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACN,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,uBAAuB,GACvB,MAAM,mBAAmB,CAAC"}
package/dist/esm/mod.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { AppServer } from "./app.js";
2
2
  export { InMemoryShopRepository, SimpleShop } from "./repository.js";
3
- export { HttpClient, HttpClientResponse, ApiClientAuthenticationFailed, ApiClientRequestFailed, } from "./http-client.js";
3
+ export { HttpClient, HttpClientResponse, ApiClientAuthenticationFailed, ApiClientRequestFailed, InMemoryHttpClientTokenCache } from "./http-client.js";
4
4
  export { Context } from "./context-resolver.js";
5
5
  export { ShopAuthorizeEvent, AppInstallEvent, AppActivateEvent, AppDeactivateEvent, AppUpdateEvent, AppUninstallEvent, BeforeRegistrationEvent, } from "./registration.js";
6
6
  //# sourceMappingURL=mod.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"mod.js","sourceRoot":"","sources":["../../src/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAErE,OAAO,EACN,UAAU,EACV,kBAAkB,EAClB,6BAA6B,EAC7B,sBAAsB,GACtB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACN,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,uBAAuB,GACvB,MAAM,mBAAmB,CAAC","sourcesContent":["export { AppServer } from \"./app.js\";\nexport { InMemoryShopRepository, SimpleShop } from \"./repository.js\";\nexport type { ShopInterface, ShopRepositoryInterface } from \"./repository.js\";\nexport {\n\tHttpClient,\n\tHttpClientResponse,\n\tApiClientAuthenticationFailed,\n\tApiClientRequestFailed,\n} from \"./http-client.js\";\nexport { Context } from \"./context-resolver.js\";\nexport {\n\tShopAuthorizeEvent,\n\tAppInstallEvent,\n\tAppActivateEvent,\n\tAppDeactivateEvent,\n\tAppUpdateEvent,\n\tAppUninstallEvent,\n\tBeforeRegistrationEvent,\n} from \"./registration.js\";\n"]}
1
+ {"version":3,"file":"mod.js","sourceRoot":"","sources":["../../src/mod.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AACrC,OAAO,EAAE,sBAAsB,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAErE,OAAO,EACN,UAAU,EACV,kBAAkB,EAClB,6BAA6B,EAC7B,sBAAsB,EACtB,4BAA4B,EAE5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAChD,OAAO,EACN,kBAAkB,EAClB,eAAe,EACf,gBAAgB,EAChB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,uBAAuB,GACvB,MAAM,mBAAmB,CAAC","sourcesContent":["export { AppServer } from \"./app.js\";\nexport { InMemoryShopRepository, SimpleShop } from \"./repository.js\";\nexport type { ShopInterface, ShopRepositoryInterface } from \"./repository.js\";\nexport {\n\tHttpClient,\n\tHttpClientResponse,\n\tApiClientAuthenticationFailed,\n\tApiClientRequestFailed,\n\tInMemoryHttpClientTokenCache,\n\tHttpClientTokenCacheInterface\n} from \"./http-client.js\";\nexport { Context } from \"./context-resolver.js\";\nexport {\n\tShopAuthorizeEvent,\n\tAppInstallEvent,\n\tAppActivateEvent,\n\tAppDeactivateEvent,\n\tAppUpdateEvent,\n\tAppUninstallEvent,\n\tBeforeRegistrationEvent,\n} from \"./registration.js\";\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopware-ag/app-server-sdk",
3
- "version": "1.1.27",
3
+ "version": "1.1.29",
4
4
  "description": "App Server SDK for JavaScript",
5
5
  "type": "module",
6
6
  "license": "MIT",