@coherentglobal/spark-execute-sdk 0.3.5 → 0.3.7
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/.github/workflows/build-publish.yml +4 -0
- package/README.md +6 -3
- package/dist/browser.js +215 -570
- package/examples/UsingBearerTokenFNAsync/index.html +1 -0
- package/examples/unzippedModel/config.js +96 -0
- package/examples/unzippedModel/index.html +195 -0
- package/examples/unzippedModel/modelCInput.json +15 -0
- package/examples/unzippedModel/models/0211e8f0-9988-4514-a761-9782db6700ce/Model_C.data +0 -0
- package/examples/unzippedModel/models/0211e8f0-9988-4514-a761-9782db6700ce/Model_C.js +21 -0
- package/examples/unzippedModel/models/0211e8f0-9988-4514-a761-9782db6700ce/Model_C.wasm +0 -0
- package/examples/unzippedModel/node.js +125 -0
- package/examples/unzippedModel/tool.js +17 -0
- package/package.json +2 -2
- package/src/browser.js +1 -0
- package/src/models.js +15 -4
- package/src/validate.js +11 -1
- package/types/browser.d.ts.map +1 -1
- package/types/models.d.ts.map +1 -1
- package/types/node.d.ts.map +1 -1
- package/types/validate.d.ts.map +1 -1
|
@@ -4,10 +4,12 @@ on:
|
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
6
|
- dev
|
|
7
|
+
- v*.*.*
|
|
7
8
|
|
|
8
9
|
jobs:
|
|
9
10
|
build:
|
|
10
11
|
name: Build & Publish
|
|
12
|
+
environment: PUBLIC
|
|
11
13
|
runs-on: ubuntu-latest
|
|
12
14
|
steps:
|
|
13
15
|
- name: Checkout
|
|
@@ -38,8 +40,10 @@ jobs:
|
|
|
38
40
|
node-version: 16
|
|
39
41
|
registry-url: 'https://registry.npmjs.org'
|
|
40
42
|
always-auth: true
|
|
43
|
+
|
|
41
44
|
- name: Install dependencies and build 🔧
|
|
42
45
|
run: npm install && npm run bundle:full
|
|
46
|
+
|
|
43
47
|
- name: Publish package on NPM 📦
|
|
44
48
|
run: npm publish --access public
|
|
45
49
|
env:
|
package/README.md
CHANGED
|
@@ -5,11 +5,14 @@
|
|
|
5
5
|
|
|
6
6
|
# About the Project
|
|
7
7
|
|
|
8
|
-
A Software Development Kit (SDK) that can run either [Spark](https://coherent.global/spark/) model web-assembly or
|
|
8
|
+
A Software Development Kit (SDK) that can run either [Spark](https://coherent.global/spark/) model web-assembly or Calling an HTTPS endpoint.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
# Roadmap
|
|
12
|
+
|
|
13
|
+
- Calling an HTTPS endpoint on Spark SaaS.
|
|
9
14
|
|
|
10
|
-
##### NOTE:
|
|
11
15
|
|
|
12
|
-
Fallback endpoint is currently in development.
|
|
13
16
|
|
|
14
17
|
# How to's
|
|
15
18
|
|