Skip to content

Commit 6e10006

Browse files
authored
Merge 054cc2a into 1174fa5
2 parents 1174fa5 + 054cc2a commit 6e10006

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

.changeset/funny-pears-ring.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@shopify/buy-button-js": patch
3+
---
4+
5+
Upgrade to SDK 3.0.3

docs/index.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,13 @@ This tool is intended for use by developers who are familiar with JavaScript and
2626
Include a script tag with a specific version of the library specified. The example below uses version `1.0.0`, but the latest version can be found on [NPM](https://www.npmjs.com/package/@shopify/buy-button-js).
2727

2828
```html
29-
<script src="http://sdks.shopifycdn.com/buy-button/1.0.0/buybutton.js"></script>
29+
<script src="http://sdks.shopifycdn.com/buy-button/latest/buybutton.js"></script>
30+
```
31+
32+
Or for a specific version
33+
34+
```html
35+
<script src="http://sdks.shopifycdn.com/buy-button/2.4.0/buybutton.js"></script>
3036
```
3137

3238
## Creating a Shop Client

0 commit comments

Comments
 (0)