@veltdev/sdk-staging 1.0.5 → 1.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@veltdev/sdk-staging",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "description": "",
5
5
  "main": "velt.js",
6
6
  "scripts": {
package/types.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export * from './app/client/snippyly.model';
2
+ export * from './app/client/velt.model';
2
3
  export * from './app/models/element/cursor-element.model';
3
4
  export * from './app/models/element/presence-element.model';
4
5
  export * from './models';
package/velt.d.ts CHANGED
@@ -1,21 +1,20 @@
1
1
  // @ts-nocheck
2
- import * as snippyly from './types';
2
+ import * as velt from './types';
3
3
  export * from './types';
4
- export type Snippyly = { init: (api: string, config: snippyly.Config) => Snippyly, loaded: boolean, loadSnippyly: Function } & snippyly.Snippyly;
5
- export const Snippyly: {
6
- init: (api: string, config?: snippyly.Config) => Promise<Snippyly>,
7
- loadSnippyly: () => Snippyly,
4
+ export type Velt = { init: (api: string, config: velt.Config) => Velt, loaded: boolean, loadVelt: Function, loadSnippyly: Function } & velt.Velt;
5
+ export const Velt: {
6
+ init: (api: string, config?: velt.Config) => Promise<Velt>,
7
+ loadSnippyly: () => Velt,
8
+ loadVelt: () => Velt,
8
9
  loaded: boolean
9
- } & snippyly.Snippyly;
10
-
11
- export const Velt = Snippyly;
10
+ } & velt.Velt;
12
11
 
13
12
  ////////////////////
14
13
  // Global object
15
14
  ////////////////////
16
15
  declare global {
17
16
  interface Window {
18
- Snippyly: typeof snippyly.Snippyly;
19
- Velt: typeof snippyly.Snippyly;
17
+ Snippyly: typeof velt.Velt;
18
+ Velt: typeof velt.Velt;
20
19
  }
21
20
  }