Skip to content

Commit

Permalink
Updated CDN link
Browse files Browse the repository at this point in the history
  • Loading branch information
surminus committed Aug 24, 2023
1 parent 12eaa31 commit a1b16ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
- The third number represents a patch release, which represents bug-fixes and may be used when no action should be required from users.
1. The commit should update `package.json`, the `Spaces.ts` class containing a `version` property and `package-lock.json`.
Running `npm install` after changing `package.json` will update `package-lock.json`.
1. Update the README.md for any references to the new version, such as the CDN link.
1. Merge the commit into main.
1. Tag a release using [Github releases](https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository#creating-a-release). The version needs to match the one from the commit. Use the "Generate release notes" button to
add changelog notes and update as required.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ You can also use Spaces with a CDN, such as [unpkg](https://www.unpkg.com/):

```html
<script src="https://cdn.ably.com/lib/ably.min-1.js"></script>
<script src="https://unpkg.com/@ably-labs/spaces@0.0.10/dist/iife/index.bundle.js"></script>
<script src="https://cdn.ably.com/spaces/0.0.13/iife/index.bundle.js"></script>
```
After this, instantiate the SDK in the same way as in the NPM option above.

Expand Down

0 comments on commit a1b16ee

Please sign in to comment.