@isnolan/nestjs-payment
Advanced tools
Comparing version 0.3.4 to 0.3.5
@@ -31,2 +31,3 @@ import * as _apple_app_store_server_library from '@apple/app-store-server-library'; | ||
apple?: { | ||
appAppleId?: number; | ||
signingKey: string; | ||
@@ -33,0 +34,0 @@ keyId: string; |
@@ -87,7 +87,7 @@ "use strict"; | ||
} | ||
const { signingKey, keyId, issuerId, bundleId, environment: env } = this.config.apple; | ||
const { signingKey, keyId, issuerId, bundleId, appAppleId, environment: env } = this.config.apple; | ||
const environment = env === "Production" ? import_app_store_server_library2.Environment.PRODUCTION : import_app_store_server_library2.Environment.SANDBOX; | ||
this.client = new import_app_store_server_library.AppStoreServerAPIClient(signingKey, keyId, issuerId, bundleId, environment); | ||
this.readAppleCerts().then((appleRootCAs) => { | ||
this.verifier = new import_app_store_server_library2.SignedDataVerifier(appleRootCAs, true, environment, bundleId); | ||
this.verifier = new import_app_store_server_library2.SignedDataVerifier(appleRootCAs, true, environment, bundleId, appAppleId); | ||
}); | ||
@@ -94,0 +94,0 @@ setTimeout(() => this.requestTestNotification(), 1e4); |
{ | ||
"name": "@isnolan/nestjs-payment", | ||
"version": "0.3.4", | ||
"version": "0.3.5", | ||
"description": "nestjs-payment is a comprehensive NestJS module for simplified subscription management and seamless integration with popular payment platforms.", | ||
@@ -45,2 +45,6 @@ "keywords": [ | ||
"author": "", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/isnolan/nestjs.git" | ||
}, | ||
"license": "ISC", | ||
@@ -47,0 +51,0 @@ "scripts": { |
@@ -33,3 +33,3 @@ # Payment Module for NestJS | ||
```sh | ||
`pnpm install --save @isnolan/nestjs-payment` | ||
pnpm install --save @isnolan/nestjs-payment | ||
``` | ||
@@ -72,3 +72,2 @@ | ||
```typescript | ||
import { SubscriptionModule } from '@isnolan/nestjs-payment'; | ||
@@ -75,0 +74,0 @@ import { ConfigService } from '@nestjs/config'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
236654
2755
6
194