@computesdk/blaxel 1.0.0 → 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/README.md +8 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -13,12 +13,17 @@ npm install @computesdk/blaxel
|
|
|
13
13
|
### With ComputeSDK
|
|
14
14
|
|
|
15
15
|
```typescript
|
|
16
|
-
import {
|
|
16
|
+
import { createCompute } from 'computesdk';
|
|
17
17
|
import { blaxel } from '@computesdk/blaxel';
|
|
18
18
|
|
|
19
19
|
// Set as default provider
|
|
20
|
-
compute
|
|
20
|
+
const compute = createCompute({
|
|
21
21
|
provider: blaxel({ apiKey: process.env.BL_API_KEY })
|
|
22
|
+
compute.setConfig({
|
|
23
|
+
provider: blaxel({
|
|
24
|
+
apiKey: process.env.BLAXEL_API_KEY,
|
|
25
|
+
workspace: process.env.BLAXEL_WORKSPACE
|
|
26
|
+
})
|
|
22
27
|
});
|
|
23
28
|
|
|
24
29
|
// Create sandbox
|
|
@@ -663,4 +668,4 @@ Feel free to reach out if you have any questions — we're here to help!
|
|
|
663
668
|
|
|
664
669
|
## License
|
|
665
670
|
|
|
666
|
-
MIT
|
|
671
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@computesdk/blaxel",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Blaxel provider for ComputeSDK",
|
|
5
5
|
"author": "ComputeSDK",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@blaxel/core": "^0.2.
|
|
21
|
+
"@blaxel/core": "^0.2.42",
|
|
22
22
|
"computesdk": "1.7.0"
|
|
23
23
|
},
|
|
24
24
|
"keywords": [
|