@appsemble/sdk 0.20.21 → 0.20.23
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 +4 -4
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/index.test.js +1 -1
- package/index.test.js.map +1 -1
- package/index.test.ts +1 -1
- package/index.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
#  Appsemble SDK
|
|
2
2
|
|
|
3
3
|
> Build your own blocks
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@appsemble/sdk)
|
|
6
|
-
[](https://gitlab.com/appsemble/appsemble/-/releases/0.20.23)
|
|
7
|
+
[](https://codecov.io/gl/appsemble/appsemble)
|
|
8
8
|
[](https://prettier.io)
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
@@ -144,5 +144,5 @@ declare module '@appsemble/sdk' {
|
|
|
144
144
|
|
|
145
145
|
## License
|
|
146
146
|
|
|
147
|
-
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.
|
|
147
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.23/LICENSE.md) ©
|
|
148
148
|
[Appsemble](https://appsemble.com)
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
package/index.test.js
CHANGED
|
@@ -20,7 +20,7 @@ afterEach(() => {
|
|
|
20
20
|
originalCurrentScript = undefined;
|
|
21
21
|
});
|
|
22
22
|
describe('bootstrap', () => {
|
|
23
|
-
it('should dispatch the
|
|
23
|
+
it('should dispatch the AppsembleBootstrap event', () => {
|
|
24
24
|
const fn = import.meta.jest.fn();
|
|
25
25
|
bootstrap(fn);
|
|
26
26
|
expect(document.currentScript.dispatchEvent).toHaveBeenCalledWith(new CustomEvent(''));
|
package/index.test.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.js","sourceRoot":"","sources":["index.test.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IAAI;KACf,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAS,CAAC,GAAG,EAAE;IACb,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE,eAAe,EAAE;QAC/C,KAAK,EAAE,qBAAqB;QAC5B,QAAQ,EAAE,IAAI;KACf,CAAC,CAAC;IACH,qBAAqB,GAAG,SAAS,CAAC;AACpC,CAAC,CAAC,CAAC;AAEH,QAAQ,CAAC,WAAW,EAAE,GAAG,EAAE;IACzB,EAAE,CAAC,8CAA8C,EAAE,GAAG,EAAE;QACtD,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC;QACjC,SAAS,CAAC,EAAE,CAAC,CAAC;QACd,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,oBAAoB,CAAC,IAAI,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC;QACvF,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;QAC9C,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,aAAa,CAAC,EAAE,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
package/index.test.ts
CHANGED
|
@@ -24,7 +24,7 @@ afterEach(() => {
|
|
|
24
24
|
});
|
|
25
25
|
|
|
26
26
|
describe('bootstrap', () => {
|
|
27
|
-
it('should dispatch the
|
|
27
|
+
it('should dispatch the AppsembleBootstrap event', () => {
|
|
28
28
|
const fn = import.meta.jest.fn();
|
|
29
29
|
bootstrap(fn);
|
|
30
30
|
expect(document.currentScript.dispatchEvent).toHaveBeenCalledWith(new CustomEvent(''));
|
package/index.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/sdk",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.23",
|
|
4
4
|
"description": "Build your own blocks",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@appsemble/types": "0.20.
|
|
37
|
+
"@appsemble/types": "0.20.23",
|
|
38
38
|
"@fortawesome/fontawesome-common-types": "^6.0.0",
|
|
39
39
|
"type-fest": "^2.0.0"
|
|
40
40
|
}
|