@sigmacomputing/plugin 1.1.0-alpha.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/CHANGELOG.md +25 -0
- package/LICENSE +21 -0
- package/README.md +993 -0
- package/dist/client.d.ts +2 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +5 -0
- package/dist/error.d.ts +3 -0
- package/dist/error.d.ts.map +1 -0
- package/dist/error.js +9 -0
- package/dist/{types/index.d.ts → index.d.ts} +2 -1
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +22 -0
- package/dist/react.d.ts +3 -0
- package/dist/react.d.ts.map +1 -0
- package/dist/react.js +20 -0
- package/dist/{types/types/index.d.ts → types.d.ts} +132 -62
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/package.json +37 -29
- package/dist/cjs/client/index.js +0 -9
- package/dist/cjs/client/index.js.map +0 -1
- package/dist/cjs/client/initialize.js +0 -158
- package/dist/cjs/client/initialize.js.map +0 -1
- package/dist/cjs/index.js +0 -12
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/utils/polyfillRequestAnimationFrame.js +0 -17
- package/dist/cjs/utils/polyfillRequestAnimationFrame.js.map +0 -1
- package/dist/esm/client/index.esm.js +0 -6
- package/dist/esm/client/index.esm.js.map +0 -1
- package/dist/esm/client/initialize.esm.js +0 -156
- package/dist/esm/client/initialize.esm.js.map +0 -1
- package/dist/esm/index.esm.js +0 -4
- package/dist/esm/index.esm.js.map +0 -1
- package/dist/esm/utils/polyfillRequestAnimationFrame.esm.js +0 -15
- package/dist/esm/utils/polyfillRequestAnimationFrame.esm.js.map +0 -1
- package/dist/mjs/client/index.mjs +0 -6
- package/dist/mjs/client/index.mjs.map +0 -1
- package/dist/mjs/client/initialize.mjs +0 -156
- package/dist/mjs/client/initialize.mjs.map +0 -1
- package/dist/mjs/index.mjs +0 -4
- package/dist/mjs/index.mjs.map +0 -1
- package/dist/mjs/utils/polyfillRequestAnimationFrame.mjs +0 -15
- package/dist/mjs/utils/polyfillRequestAnimationFrame.mjs.map +0 -1
- package/dist/types/.tsbuildinfo +0 -1
- package/dist/types/client/index.d.ts +0 -4
- package/dist/types/client/index.d.ts.map +0 -1
- package/dist/types/client/initialize.d.ts +0 -3
- package/dist/types/client/initialize.d.ts.map +0 -1
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/types/utils/polyfillRequestAnimationFrame.d.ts +0 -8
- package/dist/types/utils/polyfillRequestAnimationFrame.d.ts.map +0 -1
- package/dist/umd/plugin.development.js +0 -181
- package/dist/umd/plugin.development.js.map +0 -1
- package/dist/umd/plugin.production.min.js +0 -2
- package/dist/umd/plugin.production.min.js.map +0 -1
- package/src/client/index.ts +0 -5
- package/src/client/initialize.ts +0 -196
- package/src/globals.d.ts +0 -5
- package/src/index.ts +0 -4
- package/src/types/index.ts +0 -322
- package/src/utils/polyfillRequestAnimationFrame.ts +0 -13
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
## v1.0.0 (September 23rd, 2022)
|
|
2
|
+
|
|
3
|
+
`@sigmacomputing/plugin` has moved to https://github.com/sigmacomputing/plugin and
|
|
4
|
+
is now open source. Feel free to create an issue or contribute by opening a pull
|
|
5
|
+
request. Read our `CONTRIBUTING.md` guide to get started.
|
|
6
|
+
|
|
7
|
+
#### Breaking Changes
|
|
8
|
+
|
|
9
|
+
- `@sigmacomputing/plugin-types` has been merged with `@sigmacomputing/plugin`
|
|
10
|
+
and will no longer received updates in the future. Please use only
|
|
11
|
+
`@sigmacomputing/plugin` going forward.
|
|
12
|
+
|
|
13
|
+
- All `react` exports (`SigmaClientProvider` and all hooks) have been moved to
|
|
14
|
+
a separate explicit export. This will allow better bundle splitting by not
|
|
15
|
+
including `react` specific code for plugins that do not use `react`.
|
|
16
|
+
|
|
17
|
+
```ts
|
|
18
|
+
// before
|
|
19
|
+
import { SigmaClientProvider, usePlugin } from '@sigmacomputing/plugin';
|
|
20
|
+
|
|
21
|
+
// after
|
|
22
|
+
import { SigmaClientProvider, usePlugin } from '@sigmacomputing/plugin/react';
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
All types can be imported from either `@sigmacomputing/plugin` or `@sigmacomputing/plugin/react`
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Sigma Computing
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|