@playabl/sdk 1.1.0-beta.1 → 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 +1 -8
- package/dist/index.js +1 -1
- package/package.json +1 -4
package/README.md
CHANGED
|
@@ -8,14 +8,7 @@ Browser SDK for Playabl games providing parent-platform communication, game stat
|
|
|
8
8
|
npm install @playabl/sdk
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
the layout types are on the `beta` dist-tag:
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
npm install @playabl/sdk@beta
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
`sdk.game` and `sdk.devtools` need runtime 1.0.0 or newer in the environment the game loads from. That runtime is live on dev, staging and production.
|
|
11
|
+
`sdk.game` and `sdk.devtools` need runtime 1.0.0 or newer in the environment the game loads from. That runtime is live on dev, staging and production. What 1.1.0 adds needs runtime 1.6.0 or newer there.
|
|
19
12
|
|
|
20
13
|
## Usage
|
|
21
14
|
|
package/dist/index.js
CHANGED
|
@@ -8,7 +8,7 @@ var CDN_HOSTS = /* @__PURE__ */ new Set([
|
|
|
8
8
|
"cdn-staging.playabl.ai",
|
|
9
9
|
"cdn-dev.playabl.ai"
|
|
10
10
|
]);
|
|
11
|
-
var FALLBACK_RUNTIME_URL = "https://cdn.playabl.ai/Runtime-Script/sdk/v1/runtime.js?v=sdk-1.1.0
|
|
11
|
+
var FALLBACK_RUNTIME_URL = "https://cdn.playabl.ai/Runtime-Script/sdk/v1/runtime.js?v=sdk-1.1.0";
|
|
12
12
|
function isEnv(value) {
|
|
13
13
|
return value === "local" || value === "dev" || value === "staging" || value === "prod";
|
|
14
14
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playabl/sdk",
|
|
3
|
-
"version": "1.1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
7
|
-
"publishConfig": {
|
|
8
|
-
"tag": "beta"
|
|
9
|
-
},
|
|
10
7
|
"files": [
|
|
11
8
|
"dist/index.js",
|
|
12
9
|
"dist/index.d.ts",
|