substarte 120240617.1.9

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs ADDED
@@ -0,0 +1,101 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+
50
+ var _chunkRXDQ7URZcjs = require('./chunk-RXDQ7URZ.cjs');
51
+
52
+
53
+
54
+
55
+
56
+
57
+
58
+
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+ exports.BatchComputeJSON = _chunkRXDQ7URZcjs.BatchComputeJSON; exports.BatchComputeText = _chunkRXDQ7URZcjs.BatchComputeText; exports.Box = _chunkRXDQ7URZcjs.Box; exports.CLIP = _chunkRXDQ7URZcjs.CLIP; exports.ComputeJSON = _chunkRXDQ7URZcjs.ComputeJSON; exports.ComputeText = _chunkRXDQ7URZcjs.ComputeText; exports.DeleteVectorStore = _chunkRXDQ7URZcjs.DeleteVectorStore; exports.DeleteVectors = _chunkRXDQ7URZcjs.DeleteVectors; exports.EmbedImage = _chunkRXDQ7URZcjs.EmbedImage; exports.EmbedText = _chunkRXDQ7URZcjs.EmbedText; exports.EraseImage = _chunkRXDQ7URZcjs.EraseImage; exports.Experimental = _chunkRXDQ7URZcjs.Experimental; exports.FetchVectors = _chunkRXDQ7URZcjs.FetchVectors; exports.FindOrCreateVectorStore = _chunkRXDQ7URZcjs.FindOrCreateVectorStore; exports.Firellava13B = _chunkRXDQ7URZcjs.Firellava13B; exports.GenerateImage = _chunkRXDQ7URZcjs.GenerateImage; exports.GenerateSpeech = _chunkRXDQ7URZcjs.GenerateSpeech; exports.If = _chunkRXDQ7URZcjs.If; exports.InpaintImage = _chunkRXDQ7URZcjs.InpaintImage; exports.InterpolateFrames = _chunkRXDQ7URZcjs.InterpolateFrames; exports.JinaV2 = _chunkRXDQ7URZcjs.JinaV2; exports.ListVectorStores = _chunkRXDQ7URZcjs.ListVectorStores; exports.Llama3Instruct70B = _chunkRXDQ7URZcjs.Llama3Instruct70B; exports.Llama3Instruct8B = _chunkRXDQ7URZcjs.Llama3Instruct8B; exports.Mistral7BInstruct = _chunkRXDQ7URZcjs.Mistral7BInstruct; exports.Mixtral8x7BInstruct = _chunkRXDQ7URZcjs.Mixtral8x7BInstruct; exports.MultiComputeJSON = _chunkRXDQ7URZcjs.MultiComputeJSON; exports.MultiComputeText = _chunkRXDQ7URZcjs.MultiComputeText; exports.MultiEmbedImage = _chunkRXDQ7URZcjs.MultiEmbedImage; exports.MultiEmbedText = _chunkRXDQ7URZcjs.MultiEmbedText; exports.MultiGenerateImage = _chunkRXDQ7URZcjs.MultiGenerateImage; exports.MultiInpaintImage = _chunkRXDQ7URZcjs.MultiInpaintImage; exports.QueryVectorStore = _chunkRXDQ7URZcjs.QueryVectorStore; exports.RemoveBackground = _chunkRXDQ7URZcjs.RemoveBackground; exports.SegmentAnything = _chunkRXDQ7URZcjs.SegmentAnything; exports.SegmentUnderPoint = _chunkRXDQ7URZcjs.SegmentUnderPoint; exports.SplitDocument = _chunkRXDQ7URZcjs.SplitDocument; exports.StableDiffusionXLControlNet = _chunkRXDQ7URZcjs.StableDiffusionXLControlNet; exports.StableDiffusionXLInpaint = _chunkRXDQ7URZcjs.StableDiffusionXLInpaint; exports.StableDiffusionXLLightning = _chunkRXDQ7URZcjs.StableDiffusionXLLightning; exports.StableVideoDiffusion = _chunkRXDQ7URZcjs.StableVideoDiffusion; exports.Substrate = _chunkRXDQ7URZcjs.Substrate; exports.SubstrateError = _chunkRXDQ7URZcjs.SubstrateError; exports.TranscribeSpeech = _chunkRXDQ7URZcjs.TranscribeSpeech; exports.UpdateVectors = _chunkRXDQ7URZcjs.UpdateVectors; exports.UpscaleImage = _chunkRXDQ7URZcjs.UpscaleImage; exports.default = _chunkRXDQ7URZcjs.src_default; exports.sb = _chunkRXDQ7URZcjs.sb;
101
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/liam/work/substrate-typescript/dist/index.cjs"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,ixFAAC","file":"/Users/liam/work/substrate-typescript/dist/index.cjs"}
@@ -0,0 +1,10 @@
1
+ import { Substrate } from './nodejs/index.cjs';
2
+ export { BatchComputeJSON, BatchComputeText, Box, CLIP, ComputeJSON, ComputeText, DeleteVectorStore, DeleteVectors, EmbedImage, EmbedText, EraseImage, Experimental, FetchVectors, FindOrCreateVectorStore, Firellava13B, GenerateImage, GenerateSpeech, If, InpaintImage, InterpolateFrames, JinaV2, ListVectorStores, Llama3Instruct70B, Llama3Instruct8B, Mistral7BInstruct, Mixtral8x7BInstruct, MultiComputeJSON, MultiComputeText, MultiEmbedImage, MultiEmbedText, MultiGenerateImage, MultiInpaintImage, QueryVectorStore, RemoveBackground, SegmentAnything, SegmentUnderPoint, SplitDocument, StableDiffusionXLControlNet, StableDiffusionXLInpaint, StableDiffusionXLLightning, StableVideoDiffusion, SubstrateError, TranscribeSpeech, UpdateVectors, UpscaleImage, sb } from './nodejs/index.cjs';
3
+
4
+ /**
5
+ * 𐃏 Substrate TypeScript SDK
6
+ * @generated file
7
+ * 20240617.20240806
8
+ */
9
+
10
+ export { Substrate, Substrate as default };
@@ -0,0 +1,10 @@
1
+ import { Substrate } from './nodejs/index.js';
2
+ export { BatchComputeJSON, BatchComputeText, Box, CLIP, ComputeJSON, ComputeText, DeleteVectorStore, DeleteVectors, EmbedImage, EmbedText, EraseImage, Experimental, FetchVectors, FindOrCreateVectorStore, Firellava13B, GenerateImage, GenerateSpeech, If, InpaintImage, InterpolateFrames, JinaV2, ListVectorStores, Llama3Instruct70B, Llama3Instruct8B, Mistral7BInstruct, Mixtral8x7BInstruct, MultiComputeJSON, MultiComputeText, MultiEmbedImage, MultiEmbedText, MultiGenerateImage, MultiInpaintImage, QueryVectorStore, RemoveBackground, SegmentAnything, SegmentUnderPoint, SplitDocument, StableDiffusionXLControlNet, StableDiffusionXLInpaint, StableDiffusionXLLightning, StableVideoDiffusion, SubstrateError, TranscribeSpeech, UpdateVectors, UpscaleImage, sb } from './nodejs/index.js';
3
+
4
+ /**
5
+ * 𐃏 Substrate TypeScript SDK
6
+ * @generated file
7
+ * 20240617.20240806
8
+ */
9
+
10
+ export { Substrate, Substrate as default };
package/dist/index.js ADDED
@@ -0,0 +1,101 @@
1
+ import {
2
+ BatchComputeJSON,
3
+ BatchComputeText,
4
+ Box,
5
+ CLIP,
6
+ ComputeJSON,
7
+ ComputeText,
8
+ DeleteVectorStore,
9
+ DeleteVectors,
10
+ EmbedImage,
11
+ EmbedText,
12
+ EraseImage,
13
+ Experimental,
14
+ FetchVectors,
15
+ FindOrCreateVectorStore,
16
+ Firellava13B,
17
+ GenerateImage,
18
+ GenerateSpeech,
19
+ If,
20
+ InpaintImage,
21
+ InterpolateFrames,
22
+ JinaV2,
23
+ ListVectorStores,
24
+ Llama3Instruct70B,
25
+ Llama3Instruct8B,
26
+ Mistral7BInstruct,
27
+ Mixtral8x7BInstruct,
28
+ MultiComputeJSON,
29
+ MultiComputeText,
30
+ MultiEmbedImage,
31
+ MultiEmbedText,
32
+ MultiGenerateImage,
33
+ MultiInpaintImage,
34
+ QueryVectorStore,
35
+ RemoveBackground,
36
+ SegmentAnything,
37
+ SegmentUnderPoint,
38
+ SplitDocument,
39
+ StableDiffusionXLControlNet,
40
+ StableDiffusionXLInpaint,
41
+ StableDiffusionXLLightning,
42
+ StableVideoDiffusion,
43
+ Substrate,
44
+ SubstrateError,
45
+ TranscribeSpeech,
46
+ UpdateVectors,
47
+ UpscaleImage,
48
+ sb,
49
+ src_default
50
+ } from "./chunk-LSOOALKC.js";
51
+ export {
52
+ BatchComputeJSON,
53
+ BatchComputeText,
54
+ Box,
55
+ CLIP,
56
+ ComputeJSON,
57
+ ComputeText,
58
+ DeleteVectorStore,
59
+ DeleteVectors,
60
+ EmbedImage,
61
+ EmbedText,
62
+ EraseImage,
63
+ Experimental,
64
+ FetchVectors,
65
+ FindOrCreateVectorStore,
66
+ Firellava13B,
67
+ GenerateImage,
68
+ GenerateSpeech,
69
+ If,
70
+ InpaintImage,
71
+ InterpolateFrames,
72
+ JinaV2,
73
+ ListVectorStores,
74
+ Llama3Instruct70B,
75
+ Llama3Instruct8B,
76
+ Mistral7BInstruct,
77
+ Mixtral8x7BInstruct,
78
+ MultiComputeJSON,
79
+ MultiComputeText,
80
+ MultiEmbedImage,
81
+ MultiEmbedText,
82
+ MultiGenerateImage,
83
+ MultiInpaintImage,
84
+ QueryVectorStore,
85
+ RemoveBackground,
86
+ SegmentAnything,
87
+ SegmentUnderPoint,
88
+ SplitDocument,
89
+ StableDiffusionXLControlNet,
90
+ StableDiffusionXLInpaint,
91
+ StableDiffusionXLLightning,
92
+ StableVideoDiffusion,
93
+ Substrate,
94
+ SubstrateError,
95
+ TranscribeSpeech,
96
+ UpdateVectors,
97
+ UpscaleImage,
98
+ src_default as default,
99
+ sb
100
+ };
101
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
@@ -0,0 +1,108 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
2
+
3
+
4
+
5
+
6
+
7
+
8
+
9
+
10
+
11
+
12
+
13
+
14
+
15
+
16
+
17
+
18
+
19
+
20
+
21
+
22
+
23
+
24
+
25
+
26
+
27
+
28
+
29
+
30
+
31
+
32
+
33
+
34
+
35
+
36
+
37
+
38
+
39
+
40
+
41
+
42
+
43
+
44
+
45
+
46
+
47
+
48
+
49
+ var _chunkRXDQ7URZcjs = require('../chunk-RXDQ7URZ.cjs');
50
+
51
+ // src/nodejs/polyfill.ts
52
+ var _nodefetch = require('node-fetch'); var _nodefetch2 = _interopRequireDefault(_nodefetch);
53
+ if (!globalThis.fetch) {
54
+ globalThis.fetch = _nodefetch2.default;
55
+ globalThis.Headers = _nodefetch.Headers;
56
+ globalThis.Request = _nodefetch.Request;
57
+ globalThis.Response = _nodefetch.Response;
58
+ }
59
+
60
+
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+
82
+
83
+
84
+
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+
100
+
101
+
102
+
103
+
104
+
105
+
106
+
107
+ exports.BatchComputeJSON = _chunkRXDQ7URZcjs.BatchComputeJSON; exports.BatchComputeText = _chunkRXDQ7URZcjs.BatchComputeText; exports.Box = _chunkRXDQ7URZcjs.Box; exports.CLIP = _chunkRXDQ7URZcjs.CLIP; exports.ComputeJSON = _chunkRXDQ7URZcjs.ComputeJSON; exports.ComputeText = _chunkRXDQ7URZcjs.ComputeText; exports.DeleteVectorStore = _chunkRXDQ7URZcjs.DeleteVectorStore; exports.DeleteVectors = _chunkRXDQ7URZcjs.DeleteVectors; exports.EmbedImage = _chunkRXDQ7URZcjs.EmbedImage; exports.EmbedText = _chunkRXDQ7URZcjs.EmbedText; exports.EraseImage = _chunkRXDQ7URZcjs.EraseImage; exports.Experimental = _chunkRXDQ7URZcjs.Experimental; exports.FetchVectors = _chunkRXDQ7URZcjs.FetchVectors; exports.FindOrCreateVectorStore = _chunkRXDQ7URZcjs.FindOrCreateVectorStore; exports.Firellava13B = _chunkRXDQ7URZcjs.Firellava13B; exports.GenerateImage = _chunkRXDQ7URZcjs.GenerateImage; exports.GenerateSpeech = _chunkRXDQ7URZcjs.GenerateSpeech; exports.If = _chunkRXDQ7URZcjs.If; exports.InpaintImage = _chunkRXDQ7URZcjs.InpaintImage; exports.InterpolateFrames = _chunkRXDQ7URZcjs.InterpolateFrames; exports.JinaV2 = _chunkRXDQ7URZcjs.JinaV2; exports.ListVectorStores = _chunkRXDQ7URZcjs.ListVectorStores; exports.Llama3Instruct70B = _chunkRXDQ7URZcjs.Llama3Instruct70B; exports.Llama3Instruct8B = _chunkRXDQ7URZcjs.Llama3Instruct8B; exports.Mistral7BInstruct = _chunkRXDQ7URZcjs.Mistral7BInstruct; exports.Mixtral8x7BInstruct = _chunkRXDQ7URZcjs.Mixtral8x7BInstruct; exports.MultiComputeJSON = _chunkRXDQ7URZcjs.MultiComputeJSON; exports.MultiComputeText = _chunkRXDQ7URZcjs.MultiComputeText; exports.MultiEmbedImage = _chunkRXDQ7URZcjs.MultiEmbedImage; exports.MultiEmbedText = _chunkRXDQ7URZcjs.MultiEmbedText; exports.MultiGenerateImage = _chunkRXDQ7URZcjs.MultiGenerateImage; exports.MultiInpaintImage = _chunkRXDQ7URZcjs.MultiInpaintImage; exports.QueryVectorStore = _chunkRXDQ7URZcjs.QueryVectorStore; exports.RemoveBackground = _chunkRXDQ7URZcjs.RemoveBackground; exports.SegmentAnything = _chunkRXDQ7URZcjs.SegmentAnything; exports.SegmentUnderPoint = _chunkRXDQ7URZcjs.SegmentUnderPoint; exports.SplitDocument = _chunkRXDQ7URZcjs.SplitDocument; exports.StableDiffusionXLControlNet = _chunkRXDQ7URZcjs.StableDiffusionXLControlNet; exports.StableDiffusionXLInpaint = _chunkRXDQ7URZcjs.StableDiffusionXLInpaint; exports.StableDiffusionXLLightning = _chunkRXDQ7URZcjs.StableDiffusionXLLightning; exports.StableVideoDiffusion = _chunkRXDQ7URZcjs.StableVideoDiffusion; exports.Substrate = _chunkRXDQ7URZcjs.Substrate; exports.SubstrateError = _chunkRXDQ7URZcjs.SubstrateError; exports.TranscribeSpeech = _chunkRXDQ7URZcjs.TranscribeSpeech; exports.UpdateVectors = _chunkRXDQ7URZcjs.UpdateVectors; exports.UpscaleImage = _chunkRXDQ7URZcjs.UpscaleImage; exports.sb = _chunkRXDQ7URZcjs.sb;
108
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/Users/liam/work/substrate-typescript/dist/nodejs/index.cjs","../../src/nodejs/polyfill.ts"],"names":[],"mappings":"AAAA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,yDAA8B;AAC9B;AACA;AC9CA,6FAAkD;AAElD,GAAA,CAAI,CAAC,UAAA,CAAW,KAAA,EAAO;AAErB,EAAA,UAAA,CAAW,MAAA,EAAQ,mBAAA;AAEnB,EAAA,UAAA,CAAW,QAAA,EAAU,kBAAA;AAErB,EAAA,UAAA,CAAW,QAAA,EAAU,kBAAA;AAErB,EAAA,UAAA,CAAW,SAAA,EAAW,mBAAA;AACxB;AD2CA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,guFAAC","file":"/Users/liam/work/substrate-typescript/dist/nodejs/index.cjs","sourcesContent":[null,"/**\n * While we're generally aiming to support ES2022 and Node 18+ we're also including\n * polyfill code for now for some of the Standard Web APIs that we use in this SDK.\n */\nimport fetch, { Headers, Request, Response } from \"node-fetch\";\n\nif (!globalThis.fetch) {\n // @ts-ignore\n globalThis.fetch = fetch;\n // @ts-ignore\n globalThis.Headers = Headers;\n // @ts-ignore\n globalThis.Request = Request;\n // @ts-ignore\n globalThis.Response = Response;\n}\n"]}