@or-sdk/payments 2.1.3 → 2.1.4-beta.3267.0

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.
Files changed (2) hide show
  1. package/README.md +8 -5
  2. package/package.json +2 -3
package/README.md CHANGED
@@ -1,14 +1,17 @@
1
1
  ## Installation:
2
2
  ```
3
- $ npm i @or-sdk/payments
3
+ $ npm i @or-sdk/permissions-lambda
4
4
  ```
5
5
 
6
6
 
7
7
  ## Usage:
8
+ Use permissions-lambda-sdk to communicate with permissions-core service bypassing ApiGateway using Lambda.invoke.
9
+
8
10
  ```typescript
9
- import { Payments } from '@or-sdk/payments'
11
+ import { PermissionsLambda } from '@or-sdk/permissions-lambda'
10
12
 
11
- const paymentsApi = new Payments({
12
- token: 'my-account-token-string',
13
- paymentsUrl: 'http://example.payments]/endpoint'
13
+ const permissions = new PermissionsLambda({
14
+ isLocal: false,
15
+ functionName: 'permissions-core-function-name'
14
16
  });
17
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@or-sdk/payments",
3
- "version": "2.1.3",
3
+ "version": "2.1.4-beta.3267.0",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -26,6 +26,5 @@
26
26
  },
27
27
  "publishConfig": {
28
28
  "access": "public"
29
- },
30
- "gitHead": "810cda00d5c1b16f9ad2ea656d440db15c5e8601"
29
+ }
31
30
  }