@sigmacomputing/plugin 1.0.0-rc.1 → 1.0.0-rc.2
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/dist/client/react/index.d.ts +1 -0
- package/dist/client/react/index.d.ts.map +1 -1
- package/dist/client/react/index.js +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -4
- package/dist/utils/deepEqual.d.ts.map +1 -1
- package/dist/utils/deepEqual.js +8 -9
- package/package.json +1 -1
- package/src/client/react/index.tsx +3 -0
- package/src/index.ts +1 -2
- package/src/utils/deepEqual.ts +8 -9
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/react/index.tsx"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,OAAO,EACL,wBAAwB,EACxB,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/client/react/index.tsx"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AAEvB,cAAc,oBAAoB,CAAC;AACnC,OAAO,EACL,wBAAwB,EACxB,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAE/B,cAAc,OAAO,CAAC"}
|
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
exports.SigmaClientProvider = void 0;
|
|
18
|
+
__exportStar(require(".."), exports);
|
|
18
19
|
__exportStar(require("./hooks"), exports);
|
|
19
20
|
var Provider_1 = require("./Provider");
|
|
20
21
|
Object.defineProperty(exports, "SigmaClientProvider", { enumerable: true, get: function () { return Provider_1.SigmaClientProvider; } });
|
package/dist/index.d.ts
CHANGED
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,OAAO,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -14,8 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
|
|
18
|
-
var client_1 = require("./client");
|
|
19
|
-
Object.defineProperty(exports, "client", { enumerable: true, get: function () { return client_1.client; } });
|
|
20
|
-
Object.defineProperty(exports, "initialize", { enumerable: true, get: function () { return client_1.initialize; } });
|
|
17
|
+
__exportStar(require("./client"), exports);
|
|
21
18
|
__exportStar(require("./types"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deepEqual.d.ts","sourceRoot":"","sources":["../../src/utils/deepEqual.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"deepEqual.d.ts","sourceRoot":"","sources":["../../src/utils/deepEqual.ts"],"names":[],"mappings":"AAQA,wBAAgB,SAAS,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,uBAc7C"}
|
package/dist/utils/deepEqual.js
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.deepEqual = void 0;
|
|
4
|
+
function isObject(obj) {
|
|
5
|
+
if (typeof obj === 'object' && obj != null) {
|
|
6
|
+
return true;
|
|
7
|
+
}
|
|
8
|
+
else {
|
|
9
|
+
return false;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
4
12
|
function deepEqual(obj1, obj2) {
|
|
5
13
|
if (obj1 === obj2) {
|
|
6
14
|
return true;
|
|
@@ -16,14 +24,5 @@ function deepEqual(obj1, obj2) {
|
|
|
16
24
|
}
|
|
17
25
|
return true;
|
|
18
26
|
}
|
|
19
|
-
// Private
|
|
20
|
-
function isObject(obj) {
|
|
21
|
-
if (typeof obj === 'object' && obj != null) {
|
|
22
|
-
return true;
|
|
23
|
-
}
|
|
24
|
-
else {
|
|
25
|
-
return false;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
27
|
}
|
|
29
28
|
exports.deepEqual = deepEqual;
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
package/src/utils/deepEqual.ts
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
function isObject(obj: any) {
|
|
2
|
+
if (typeof obj === 'object' && obj != null) {
|
|
3
|
+
return true;
|
|
4
|
+
} else {
|
|
5
|
+
return false;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
|
|
1
9
|
export function deepEqual(obj1: any, obj2: any) {
|
|
2
10
|
if (obj1 === obj2) {
|
|
3
11
|
return true;
|
|
@@ -12,13 +20,4 @@ export function deepEqual(obj1: any, obj2: any) {
|
|
|
12
20
|
}
|
|
13
21
|
return true;
|
|
14
22
|
}
|
|
15
|
-
|
|
16
|
-
// Private
|
|
17
|
-
function isObject(obj: any) {
|
|
18
|
-
if (typeof obj === 'object' && obj != null) {
|
|
19
|
-
return true;
|
|
20
|
-
} else {
|
|
21
|
-
return false;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
23
|
}
|