@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 CHANGED
@@ -1,10 +1,10 @@
1
- # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.20.21/config/assets/logo.svg) Appsemble SDK
1
+ # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.20.23/config/assets/logo.svg) Appsemble SDK
2
2
 
3
3
  > Build your own blocks
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@appsemble/sdk)](https://www.npmjs.com/package/@appsemble/sdk)
6
- [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.20.21/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.20.21)
7
- [![Code coverage](https://codecov.io/gl/appsemble/appsemble/branch/0.20.21/graph/badge.svg)](https://codecov.io/gl/appsemble/appsemble)
6
+ [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.20.23/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.20.23)
7
+ [![Code coverage](https://codecov.io/gl/appsemble/appsemble/branch/0.20.23/graph/badge.svg)](https://codecov.io/gl/appsemble/appsemble)
8
8
  [![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](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.21/LICENSE.md) ©
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
@@ -264,7 +264,7 @@ export interface AppsembleBootstrapEvent extends CustomEvent {
264
264
  };
265
265
  }
266
266
  /**
267
- * Register a boostrap function.
267
+ * Register a bootstrap function.
268
268
  *
269
269
  * @param fn The bootstrap function to register
270
270
  *
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Register a boostrap function.
2
+ * Register a bootstrap function.
3
3
  *
4
4
  * @param fn The bootstrap function to register
5
5
  *
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 AppsembleBoostrap event', () => {
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.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,YAAY,CAAC;AAEvC,IAAI,KAAkB,CAAC;AACvB,IAAI,qBAA6C,CAAC;AAElD,UAAU,CAAC,GAAG,EAAE;IACd,qBAAqB,GAAG,QAAQ,CAAC,aAAa,CAAC;IAC/C,MAAM,CAAC,cAAc,CAAC,QAAQ,EAAE,eAAe,EAAE;QAC/C,KAAK,EAAE;YACL,aAAa,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,EAAE;gBACvC,KAAK,GAAG,CAAC,CAAC;YACZ,CAAC,CAAC;SACH;QACD,QAAQ,EAAE,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,6CAA6C,EAAE,GAAG,E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,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 AppsembleBoostrap event', () => {
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
@@ -304,7 +304,7 @@ export interface AppsembleBootstrapEvent extends CustomEvent {
304
304
  }
305
305
 
306
306
  /**
307
- * Register a boostrap function.
307
+ * Register a bootstrap function.
308
308
  *
309
309
  * @param fn The bootstrap function to register
310
310
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsemble/sdk",
3
- "version": "0.20.21",
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.21",
37
+ "@appsemble/types": "0.20.23",
38
38
  "@fortawesome/fontawesome-common-types": "^6.0.0",
39
39
  "type-fest": "^2.0.0"
40
40
  }