@databricks/zerobus-ingest-sdk 1.0.0 → 1.0.1
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/Cargo.lock +3023 -0
- package/Cargo.toml +2 -2
- package/README.md +1 -1
- package/index.d.ts +1 -0
- package/index.js +21 -0
- package/package.json +2 -10
- package/zerobus-ingest-sdk.linux-arm64-gnu.node +0 -0
- package/zerobus-ingest-sdk.linux-x64-gnu.node +0 -0
- package/zerobus-ingest-sdk.win32-x64-msvc.node +0 -0
- package/zerobus-ingest-sdk.darwin-arm64.node +0 -0
- package/zerobus-ingest-sdk.darwin-x64.node +0 -0
package/Cargo.toml
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "zerobus-sdk-ts"
|
|
3
|
-
version = "1.0.
|
|
3
|
+
version = "1.0.1"
|
|
4
4
|
authors = ["Databricks"]
|
|
5
5
|
edition = "2021"
|
|
6
|
-
license
|
|
6
|
+
license = "Apache-2.0"
|
|
7
7
|
description = "TypeScript/Node.js bindings for the Databricks Zerobus SDK"
|
|
8
8
|
repository = "https://github.com/databricks/zerobus-sdk"
|
|
9
9
|
|
package/README.md
CHANGED
|
@@ -1177,4 +1177,4 @@ This is an open source project. We welcome contributions, feedback, and bug repo
|
|
|
1177
1177
|
|
|
1178
1178
|
## License
|
|
1179
1179
|
|
|
1180
|
-
This SDK is licensed under the
|
|
1180
|
+
This SDK is licensed under the Apache License 2.0. See the [LICENSE](https://github.com/databricks/zerobus-sdk/blob/main/LICENSE) file for the full license text.
|
package/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { }
|
package/index.js
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
if (process.platform === "linux" && process.arch === "x64") {
|
|
2
|
+
try { module.exports = require("@databricks/zerobus-ingest-sdk-linux-x64-gnu"); } catch(e) {
|
|
3
|
+
module.exports = require("./zerobus-ingest-sdk.linux-x64-gnu.node"); }
|
|
4
|
+
} else
|
|
5
|
+
if (process.platform === "linux" && process.arch === "arm64") {
|
|
6
|
+
try { module.exports = require("@databricks/zerobus-ingest-sdk-linux-arm64-gnu"); } catch(e) {
|
|
7
|
+
module.exports = require("./zerobus-ingest-sdk.linux-arm64-gnu.node"); }
|
|
8
|
+
} else
|
|
9
|
+
if (process.platform === "win32" && process.arch === "x64") {
|
|
10
|
+
try { module.exports = require("@databricks/zerobus-ingest-sdk-win32-x64-msvc"); } catch(e) {
|
|
11
|
+
module.exports = require("./zerobus-ingest-sdk.win32-x64-msvc.node"); }
|
|
12
|
+
} else
|
|
13
|
+
if (process.platform === "darwin" && process.arch === "x64") {
|
|
14
|
+
try { module.exports = require("@databricks/zerobus-ingest-sdk-darwin-x64"); } catch(e) {
|
|
15
|
+
module.exports = require("./zerobus-ingest-sdk.darwin-x64.node"); }
|
|
16
|
+
} else
|
|
17
|
+
if (process.platform === "darwin" && process.arch === "arm64") {
|
|
18
|
+
try { module.exports = require("@databricks/zerobus-ingest-sdk-darwin-arm64"); } catch(e) {
|
|
19
|
+
module.exports = require("./zerobus-ingest-sdk.darwin-arm64.node"); }
|
|
20
|
+
} else
|
|
21
|
+
{ throw new Error("Unsupported platform: " + process.platform + "-" + process.arch); }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@databricks/zerobus-ingest-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "TypeScript/Node.js SDK for streaming data ingestion into Databricks Delta tables using Zerobus",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"type": "git",
|
|
18
18
|
"url": "https://github.com/databricks/zerobus-sdk"
|
|
19
19
|
},
|
|
20
|
-
"license": "
|
|
20
|
+
"license": "Apache-2.0",
|
|
21
21
|
"files": [
|
|
22
22
|
"index.js",
|
|
23
23
|
"index.d.ts",
|
|
@@ -54,7 +54,6 @@
|
|
|
54
54
|
"build:debug": "napi build --platform",
|
|
55
55
|
"build:debug:arrow": "napi build --platform --features arrow-flight",
|
|
56
56
|
"build:proto": "mkdir -p examples/generated && pbjs -t static-module -w commonjs -o examples/generated/air_quality.js schemas/air_quality.proto && pbts -o examples/generated/air_quality.d.ts examples/generated/air_quality.js && protoc --descriptor_set_out=schemas/air_quality_descriptor.pb --include_imports schemas/air_quality.proto",
|
|
57
|
-
"prepublishOnly": "napi prepublish -t npm",
|
|
58
57
|
"test": "tsx --test test/unit.test.ts test/integration.test.ts",
|
|
59
58
|
"test:unit": "tsx --test test/unit.test.ts",
|
|
60
59
|
"test:integration": "tsx --test test/integration.test.ts",
|
|
@@ -91,12 +90,5 @@
|
|
|
91
90
|
},
|
|
92
91
|
"overrides": {
|
|
93
92
|
"glob": "^10.0.0"
|
|
94
|
-
},
|
|
95
|
-
"optionalDependencies": {
|
|
96
|
-
"@databricks/zerobus-ingest-sdk-linux-x64-gnu": "1.0.0",
|
|
97
|
-
"@databricks/zerobus-ingest-sdk-linux-arm64-gnu": "1.0.0",
|
|
98
|
-
"@databricks/zerobus-ingest-sdk-win32-x64-msvc": "1.0.0",
|
|
99
|
-
"@databricks/zerobus-ingest-sdk-darwin-x64": "1.0.0",
|
|
100
|
-
"@databricks/zerobus-ingest-sdk-darwin-arm64": "1.0.0"
|
|
101
93
|
}
|
|
102
94
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|