@sesamy/sesamy-js 1.0.3 → 1.1.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.
- package/README.md +7 -0
- package/dist/sesamy-js.es.js +1525 -1141
- package/dist/sesamy-js.umd.js +17 -6
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -14,6 +14,13 @@ The following events are tracked:
|
|
|
14
14
|
|
|
15
15
|
## API
|
|
16
16
|
|
|
17
|
+
The following methods are available on the `sesamy` object:
|
|
18
|
+
|
|
19
|
+
- `init` - Initializes the sesamy-js library
|
|
20
|
+
- `getEntitlement` - Fetches a single entitlement by id
|
|
21
|
+
- `getEntitlements` - Fetches the user's entitlements
|
|
22
|
+
- `getProfile` - Fetches the user's profile
|
|
23
|
+
|
|
17
24
|
## Events
|
|
18
25
|
|
|
19
26
|
The following events are emitted by the sesamy-js library:
|