@rage-against-the-pixel/app-store-connect-api 4.1.0 → 4.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/dist/client.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as services from './app_store_connect_api/sdk.gen';
1
+ import * as api from './app_store_connect_api/sdk.gen';
2
2
  /**
3
3
  * Options for configuring the App Store Connect client.
4
4
  * @see https://developer.apple.com/documentation/appstoreconnectapi/creating_api_keys_for_app_store_connect_api
@@ -33,7 +33,7 @@ export declare class AppStoreConnectClient {
33
33
  private appStoreConnectOptions;
34
34
  private bearerToken;
35
35
  private bearerTokenGeneratedAt;
36
- api: typeof services;
36
+ readonly api: typeof api;
37
37
  constructor(appStoreConnectOptions: AppStoreConnectOptions);
38
38
  private getToken;
39
39
  /**
package/dist/client.js CHANGED
@@ -37,7 +37,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
37
37
  };
38
38
  Object.defineProperty(exports, "__esModule", { value: true });
39
39
  exports.AppStoreConnectClient = void 0;
40
- const services = __importStar(require("./app_store_connect_api/sdk.gen"));
40
+ const api = __importStar(require("./app_store_connect_api/sdk.gen"));
41
41
  const client_gen_1 = require("./app_store_connect_api/client.gen");
42
42
  const jose = __importStar(require("jose"));
43
43
  const fs_1 = __importDefault(require("fs"));
@@ -45,7 +45,7 @@ class AppStoreConnectClient {
45
45
  appStoreConnectOptions;
46
46
  bearerToken = null;
47
47
  bearerTokenGeneratedAt = 0;
48
- api = services;
48
+ api = api;
49
49
  constructor(appStoreConnectOptions) {
50
50
  if (!appStoreConnectOptions) {
51
51
  throw new Error('AppStoreConnectOptions is required');
package/dist/index.d.ts CHANGED
@@ -1 +1,2 @@
1
1
  export * from './client';
2
+ export * from './app_store_connect_api';
package/dist/index.js CHANGED
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./client"), exports);
18
+ __exportStar(require("./app_store_connect_api"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rage-against-the-pixel/app-store-connect-api",
3
- "version": "4.1.0",
3
+ "version": "4.1.1",
4
4
  "description": "A TypeScript package for communicating with Apple App Store Connect API",
5
5
  "author": "RageAgainstThePixel",
6
6
  "license": "MIT",
@@ -45,4 +45,4 @@
45
45
  "dependencies": {
46
46
  "jose": "5.10.0"
47
47
  }
48
- }
48
+ }