@rebilly/instruments 16.270.0 → 16.270.2
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/CHANGELOG.md +2 -4
- package/README.md +18 -18
- package/dist/index.d.ts +0 -1
- package/dist/index.js +4 -4
- package/dist/index.min.js +1 -1
- package/package.json +2 -4
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -26,10 +26,10 @@ yarn add @rebilly/instruments
|
|
|
26
26
|
|
|
27
27
|
**or**
|
|
28
28
|
|
|
29
|
-
- Use npm
|
|
29
|
+
- Use npm to install Rebilly Instruments.
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
|
-
|
|
32
|
+
npm install @rebilly/instruments
|
|
33
33
|
```
|
|
34
34
|
|
|
35
35
|
Enjoy 🎉
|
|
@@ -39,23 +39,23 @@ Enjoy 🎉
|
|
|
39
39
|
```html
|
|
40
40
|
<div class="rebilly-instruments-summary"></div>
|
|
41
41
|
<div class="rebilly-instruments"></div>
|
|
42
|
+
```
|
|
42
43
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
</script>
|
|
44
|
+
```js
|
|
45
|
+
import RebillyInstruments from '@rebilly/instruments';
|
|
46
|
+
|
|
47
|
+
RebillyInstruments.mount({
|
|
48
|
+
publishableKey: 'pk_sandbox_123',
|
|
49
|
+
organizationId: 'org-123',
|
|
50
|
+
websiteId: 'my-website-id',
|
|
51
|
+
items: [
|
|
52
|
+
{
|
|
53
|
+
planId: 'my-plan-id',
|
|
54
|
+
quantity: 1,
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
// ...see documentation below for more options
|
|
58
|
+
});
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
See documentation at [Rebilly developer docs](https://www.rebilly.com/docs/dev-docs/get-started-integrate-payments)
|
package/dist/index.d.ts
CHANGED
|
@@ -63,7 +63,6 @@ export interface DigitalWalletConfiguration {
|
|
|
63
63
|
displayOptions?: DisplayOptions;
|
|
64
64
|
}
|
|
65
65
|
export interface PaymentInstrumentsOptionFlags {
|
|
66
|
-
compactExpressInstruments?: boolean;
|
|
67
66
|
allowDeactivate?: boolean;
|
|
68
67
|
allowUpdate?: boolean;
|
|
69
68
|
allowMakeDefault?: boolean;
|