gs2-cdk 1.0.88 → 1.0.89

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.
@@ -6,6 +6,7 @@ export default class OpenIdConnectSetting {
6
6
  private readonly appleTeamId;
7
7
  private readonly appleKeyId;
8
8
  private readonly applePrivateKeyPem;
9
+ private readonly doneEndpointUrl;
9
10
  constructor(configurationPath: string, clientId: string, options?: OpenIdConnectSettingOptions | null);
10
11
  properties(): {
11
12
  [name: string]: any;
@@ -2,17 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class OpenIdConnectSetting {
4
4
  constructor(configurationPath, clientId, options = null) {
5
- var _a, _b, _c, _d;
5
+ var _a, _b, _c, _d, _e;
6
6
  this.clientSecret = null;
7
7
  this.appleTeamId = null;
8
8
  this.appleKeyId = null;
9
9
  this.applePrivateKeyPem = null;
10
+ this.doneEndpointUrl = null;
10
11
  this.configurationPath = configurationPath;
11
12
  this.clientId = clientId;
12
13
  this.clientSecret = (_a = options === null || options === void 0 ? void 0 : options.clientSecret) !== null && _a !== void 0 ? _a : null;
13
14
  this.appleTeamId = (_b = options === null || options === void 0 ? void 0 : options.appleTeamId) !== null && _b !== void 0 ? _b : null;
14
15
  this.appleKeyId = (_c = options === null || options === void 0 ? void 0 : options.appleKeyId) !== null && _c !== void 0 ? _c : null;
15
16
  this.applePrivateKeyPem = (_d = options === null || options === void 0 ? void 0 : options.applePrivateKeyPem) !== null && _d !== void 0 ? _d : null;
17
+ this.doneEndpointUrl = (_e = options === null || options === void 0 ? void 0 : options.doneEndpointUrl) !== null && _e !== void 0 ? _e : null;
16
18
  }
17
19
  properties() {
18
20
  let properties = {};
@@ -34,6 +36,9 @@ class OpenIdConnectSetting {
34
36
  if (this.applePrivateKeyPem != null) {
35
37
  properties["applePrivateKeyPem"] = this.applePrivateKeyPem;
36
38
  }
39
+ if (this.doneEndpointUrl != null) {
40
+ properties["doneEndpointUrl"] = this.doneEndpoint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mCAAI,IAAI,CAAC;QAC9D,IAAI,CAAC,eAAe,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,eAAe,mCAAI,IAAI,CAAC;IAC5D,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,iBAAiB,IAAI,IAAI,EAAE;YAChC,UAAU,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,iBAAiB,CAAC;SAC5D;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,EAAE;YAC3B,UAAU,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC;SAClD;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC;SAC9D;QACD,IAAI,IAAI,CAAC,eAAe,IAAI,IAAI,EAAE;YAC9B,UAAU,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,eAAe,CAAC;SACxD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAnDD,uCAmDC"}
@@ -22,6 +22,7 @@ export default class OpenIdConnectSetting {
22
22
  private readonly appleTeamId: string|null = null;
23
23
  private readonly appleKeyId: string|null = null;
24
24
  private readonly applePrivateKeyPem: string|null = null;
25
+ private readonly doneEndpointUrl: string|null = null;
25
26
 
26
27
  public constructor(
27
28
  configurationPath: string,
@@ -34,6 +35,7 @@ export default class OpenIdConnectSetting {
34
35
  this.appleTeamId = options?.appleTeamId ?? null;
35
36
  this.appleKeyId = options?.appleKeyId ?? null;
36
37
  this.applePrivateKeyPem = options?.applePrivateKeyPem ?? null;
38
+ this.doneEndpointUrl = options?.doneEndpointUrl ?? null;
37
39
  }
38
40
 
39
41
  public properties(
@@ -58,6 +60,9 @@ export default class OpenIdConnectSetting {
58
60
  if (this.applePrivateKeyPem != null) {
59
61
  properties["applePrivateKeyPem"] = this.applePrivateKeyPem;
60
62
  }
63
+ if (this.doneEndpointUrl != null) {
64
+ properties["doneEndpointUrl"] = this.doneEndpointUrl;
65
+ }
61
66
 
62
67
  return properties;
63
68
  }
@@ -3,4 +3,5 @@ export interface OpenIdConnectSettingOptions {
3
3
  appleTeamId?: string | null;
4
4
  appleKeyId?: string | null;
5
5
  applePrivateKeyPem?: string | null;
6
+ doneEndpointUrl?: string | null;
6
7
  }
@@ -19,5 +19,6 @@ export interface OpenIdConnectSettingOptions {
19
19
  appleTeamId?: string|null;
20
20
  appleKeyId?: string|null;
21
21
  applePrivateKeyPem?: string|null;
22
+ doneEndpointUrl?: string|null;
22
23
  }
23
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.88",
3
+ "version": "1.0.89",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"