@chainrails/vanilla 0.0.3 → 0.0.5

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/README.md CHANGED
@@ -13,10 +13,7 @@ npm install @chainrails/vanilla
13
13
  ## Usage
14
14
 
15
15
  ```ts
16
- import { Chainrails, createPaymentSession } from "@chainrails/vanilla";
17
- import "@chainrails/vanilla";
18
-
19
- Chainrails.config({ api_key: "your_api_key" });
16
+ import { createPaymentSession } from "@chainrails/vanilla";
20
17
 
21
18
  const modal = document.createElement("chainrails-payment-modal");
22
19
  document.body.appendChild(modal);