@wildix/stream-client 0.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/dist-cjs/StreamService.js +35 -0
- package/dist-cjs/StreamServiceClient.js +42 -0
- package/dist-cjs/commands/AddReactionCommand.js +21 -0
- package/dist-cjs/commands/DeleteMessageCommand.js +21 -0
- package/dist-cjs/commands/EditMessageCommand.js +21 -0
- package/dist-cjs/commands/GetInboxCommand.js +21 -0
- package/dist-cjs/commands/GetMessageCommand.js +21 -0
- package/dist-cjs/commands/ListChannelsCommand.js +21 -0
- package/dist-cjs/commands/ListMentionsCommand.js +21 -0
- package/dist-cjs/commands/ListMessagesCommand.js +21 -0
- package/dist-cjs/commands/PinMessageCommand.js +21 -0
- package/dist-cjs/commands/RemoveReactionCommand.js +21 -0
- package/dist-cjs/commands/SendMessageCommand.js +21 -0
- package/dist-cjs/commands/UnpinMessageCommand.js +21 -0
- package/dist-cjs/commands/index.js +15 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +10 -0
- package/dist-cjs/models/StreamServiceServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +123 -0
- package/dist-cjs/protocols/Aws_restJson1.js +579 -0
- package/dist-cjs/runtimeConfig.browser.js +32 -0
- package/dist-cjs/runtimeConfig.js +37 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +21 -0
- package/dist-cjs/runtimeExtensions.js +11 -0
- package/dist-es/StreamService.js +31 -0
- package/dist-es/StreamServiceClient.js +38 -0
- package/dist-es/commands/AddReactionCommand.js +17 -0
- package/dist-es/commands/DeleteMessageCommand.js +17 -0
- package/dist-es/commands/EditMessageCommand.js +17 -0
- package/dist-es/commands/GetInboxCommand.js +17 -0
- package/dist-es/commands/GetMessageCommand.js +17 -0
- package/dist-es/commands/ListChannelsCommand.js +17 -0
- package/dist-es/commands/ListMentionsCommand.js +17 -0
- package/dist-es/commands/ListMessagesCommand.js +17 -0
- package/dist-es/commands/PinMessageCommand.js +17 -0
- package/dist-es/commands/RemoveReactionCommand.js +17 -0
- package/dist-es/commands/SendMessageCommand.js +17 -0
- package/dist-es/commands/UnpinMessageCommand.js +17 -0
- package/dist-es/commands/index.js +12 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +5 -0
- package/dist-es/models/StreamServiceServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +113 -0
- package/dist-es/protocols/Aws_restJson1.js +552 -0
- package/dist-es/runtimeConfig.browser.js +27 -0
- package/dist-es/runtimeConfig.js +32 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +17 -0
- package/dist-es/runtimeExtensions.js +7 -0
- package/dist-types/StreamService.d.ts +96 -0
- package/dist-types/StreamServiceClient.d.ts +157 -0
- package/dist-types/commands/AddReactionCommand.d.ts +137 -0
- package/dist-types/commands/DeleteMessageCommand.d.ts +87 -0
- package/dist-types/commands/EditMessageCommand.d.ts +151 -0
- package/dist-types/commands/GetInboxCommand.d.ts +129 -0
- package/dist-types/commands/GetMessageCommand.d.ts +136 -0
- package/dist-types/commands/ListChannelsCommand.d.ts +119 -0
- package/dist-types/commands/ListMentionsCommand.d.ts +153 -0
- package/dist-types/commands/ListMessagesCommand.d.ts +137 -0
- package/dist-types/commands/PinMessageCommand.d.ts +136 -0
- package/dist-types/commands/RemoveReactionCommand.d.ts +137 -0
- package/dist-types/commands/SendMessageCommand.d.ts +160 -0
- package/dist-types/commands/UnpinMessageCommand.d.ts +136 -0
- package/dist-types/commands/index.d.ts +12 -0
- package/dist-types/extensionConfiguration.d.ts +7 -0
- package/dist-types/index.d.ts +7 -0
- package/dist-types/models/StreamServiceServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1113 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +110 -0
- package/dist-types/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/runtimeConfig.d.ts +38 -0
- package/dist-types/runtimeConfig.native.d.ts +37 -0
- package/dist-types/runtimeConfig.shared.d.ts +15 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/package.json +83 -0
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { AddReactionCommandInput, AddReactionCommandOutput } from "../commands/AddReactionCommand";
|
|
2
|
+
import { DeleteMessageCommandInput, DeleteMessageCommandOutput } from "../commands/DeleteMessageCommand";
|
|
3
|
+
import { EditMessageCommandInput, EditMessageCommandOutput } from "../commands/EditMessageCommand";
|
|
4
|
+
import { GetInboxCommandInput, GetInboxCommandOutput } from "../commands/GetInboxCommand";
|
|
5
|
+
import { GetMessageCommandInput, GetMessageCommandOutput } from "../commands/GetMessageCommand";
|
|
6
|
+
import { ListChannelsCommandInput, ListChannelsCommandOutput } from "../commands/ListChannelsCommand";
|
|
7
|
+
import { ListMentionsCommandInput, ListMentionsCommandOutput } from "../commands/ListMentionsCommand";
|
|
8
|
+
import { ListMessagesCommandInput, ListMessagesCommandOutput } from "../commands/ListMessagesCommand";
|
|
9
|
+
import { PinMessageCommandInput, PinMessageCommandOutput } from "../commands/PinMessageCommand";
|
|
10
|
+
import { RemoveReactionCommandInput, RemoveReactionCommandOutput } from "../commands/RemoveReactionCommand";
|
|
11
|
+
import { SendMessageCommandInput, SendMessageCommandOutput } from "../commands/SendMessageCommand";
|
|
12
|
+
import { UnpinMessageCommandInput, UnpinMessageCommandOutput } from "../commands/UnpinMessageCommand";
|
|
13
|
+
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
|
|
14
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
15
|
+
/**
|
|
16
|
+
* serializeAws_restJson1AddReactionCommand
|
|
17
|
+
*/
|
|
18
|
+
export declare const se_AddReactionCommand: (input: AddReactionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
19
|
+
/**
|
|
20
|
+
* serializeAws_restJson1DeleteMessageCommand
|
|
21
|
+
*/
|
|
22
|
+
export declare const se_DeleteMessageCommand: (input: DeleteMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
23
|
+
/**
|
|
24
|
+
* serializeAws_restJson1EditMessageCommand
|
|
25
|
+
*/
|
|
26
|
+
export declare const se_EditMessageCommand: (input: EditMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
27
|
+
/**
|
|
28
|
+
* serializeAws_restJson1GetInboxCommand
|
|
29
|
+
*/
|
|
30
|
+
export declare const se_GetInboxCommand: (input: GetInboxCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
31
|
+
/**
|
|
32
|
+
* serializeAws_restJson1GetMessageCommand
|
|
33
|
+
*/
|
|
34
|
+
export declare const se_GetMessageCommand: (input: GetMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
35
|
+
/**
|
|
36
|
+
* serializeAws_restJson1ListChannelsCommand
|
|
37
|
+
*/
|
|
38
|
+
export declare const se_ListChannelsCommand: (input: ListChannelsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
39
|
+
/**
|
|
40
|
+
* serializeAws_restJson1ListMentionsCommand
|
|
41
|
+
*/
|
|
42
|
+
export declare const se_ListMentionsCommand: (input: ListMentionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
43
|
+
/**
|
|
44
|
+
* serializeAws_restJson1ListMessagesCommand
|
|
45
|
+
*/
|
|
46
|
+
export declare const se_ListMessagesCommand: (input: ListMessagesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
47
|
+
/**
|
|
48
|
+
* serializeAws_restJson1PinMessageCommand
|
|
49
|
+
*/
|
|
50
|
+
export declare const se_PinMessageCommand: (input: PinMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
51
|
+
/**
|
|
52
|
+
* serializeAws_restJson1RemoveReactionCommand
|
|
53
|
+
*/
|
|
54
|
+
export declare const se_RemoveReactionCommand: (input: RemoveReactionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
55
|
+
/**
|
|
56
|
+
* serializeAws_restJson1SendMessageCommand
|
|
57
|
+
*/
|
|
58
|
+
export declare const se_SendMessageCommand: (input: SendMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
59
|
+
/**
|
|
60
|
+
* serializeAws_restJson1UnpinMessageCommand
|
|
61
|
+
*/
|
|
62
|
+
export declare const se_UnpinMessageCommand: (input: UnpinMessageCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
63
|
+
/**
|
|
64
|
+
* deserializeAws_restJson1AddReactionCommand
|
|
65
|
+
*/
|
|
66
|
+
export declare const de_AddReactionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AddReactionCommandOutput>;
|
|
67
|
+
/**
|
|
68
|
+
* deserializeAws_restJson1DeleteMessageCommand
|
|
69
|
+
*/
|
|
70
|
+
export declare const de_DeleteMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DeleteMessageCommandOutput>;
|
|
71
|
+
/**
|
|
72
|
+
* deserializeAws_restJson1EditMessageCommand
|
|
73
|
+
*/
|
|
74
|
+
export declare const de_EditMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<EditMessageCommandOutput>;
|
|
75
|
+
/**
|
|
76
|
+
* deserializeAws_restJson1GetInboxCommand
|
|
77
|
+
*/
|
|
78
|
+
export declare const de_GetInboxCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetInboxCommandOutput>;
|
|
79
|
+
/**
|
|
80
|
+
* deserializeAws_restJson1GetMessageCommand
|
|
81
|
+
*/
|
|
82
|
+
export declare const de_GetMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetMessageCommandOutput>;
|
|
83
|
+
/**
|
|
84
|
+
* deserializeAws_restJson1ListChannelsCommand
|
|
85
|
+
*/
|
|
86
|
+
export declare const de_ListChannelsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListChannelsCommandOutput>;
|
|
87
|
+
/**
|
|
88
|
+
* deserializeAws_restJson1ListMentionsCommand
|
|
89
|
+
*/
|
|
90
|
+
export declare const de_ListMentionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMentionsCommandOutput>;
|
|
91
|
+
/**
|
|
92
|
+
* deserializeAws_restJson1ListMessagesCommand
|
|
93
|
+
*/
|
|
94
|
+
export declare const de_ListMessagesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListMessagesCommandOutput>;
|
|
95
|
+
/**
|
|
96
|
+
* deserializeAws_restJson1PinMessageCommand
|
|
97
|
+
*/
|
|
98
|
+
export declare const de_PinMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PinMessageCommandOutput>;
|
|
99
|
+
/**
|
|
100
|
+
* deserializeAws_restJson1RemoveReactionCommand
|
|
101
|
+
*/
|
|
102
|
+
export declare const de_RemoveReactionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<RemoveReactionCommandOutput>;
|
|
103
|
+
/**
|
|
104
|
+
* deserializeAws_restJson1SendMessageCommand
|
|
105
|
+
*/
|
|
106
|
+
export declare const de_SendMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<SendMessageCommandOutput>;
|
|
107
|
+
/**
|
|
108
|
+
* deserializeAws_restJson1UnpinMessageCommand
|
|
109
|
+
*/
|
|
110
|
+
export declare const de_UnpinMessageCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UnpinMessageCommandOutput>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { StreamServiceClientConfig } from "./StreamServiceClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: StreamServiceClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
|
+
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
13
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
15
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
|
+
serviceRegion?: "eu-1" | "us-1" | undefined;
|
|
17
|
+
env?: "stage" | "stable" | "prod" | undefined;
|
|
18
|
+
token: import("@wildix/smithy-utils").TokenProvider;
|
|
19
|
+
endpoint?: (() => Record<string, string>) | undefined;
|
|
20
|
+
cacheMiddleware?: boolean | undefined;
|
|
21
|
+
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
22
|
+
protocolSettings?: {
|
|
23
|
+
[setting: string]: unknown;
|
|
24
|
+
defaultNamespace?: string | undefined;
|
|
25
|
+
} | undefined;
|
|
26
|
+
apiVersion: string;
|
|
27
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
28
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
29
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
30
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
31
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
32
|
+
disableHostPrefix: boolean;
|
|
33
|
+
logger: import("@smithy/types").Logger;
|
|
34
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
35
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
36
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
37
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { StreamServiceClientConfig } from "./StreamServiceClient";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export declare const getRuntimeConfig: (config: StreamServiceClientConfig) => {
|
|
7
|
+
runtime: string;
|
|
8
|
+
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
11
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
|
+
requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
|
|
13
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
14
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
15
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
16
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
17
|
+
serviceRegion?: "eu-1" | "us-1" | undefined;
|
|
18
|
+
env?: "stage" | "stable" | "prod" | undefined;
|
|
19
|
+
token: import("@wildix/smithy-utils").TokenProvider;
|
|
20
|
+
endpoint?: (() => Record<string, string>) | undefined;
|
|
21
|
+
cacheMiddleware?: boolean | undefined;
|
|
22
|
+
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
23
|
+
protocolSettings?: {
|
|
24
|
+
[setting: string]: unknown;
|
|
25
|
+
defaultNamespace?: string | undefined;
|
|
26
|
+
} | undefined;
|
|
27
|
+
apiVersion: string;
|
|
28
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
29
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
30
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
31
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
32
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
33
|
+
disableHostPrefix: boolean;
|
|
34
|
+
logger: import("@smithy/types").Logger;
|
|
35
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
36
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
37
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
38
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { StreamServiceClientConfig } from "./StreamServiceClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: StreamServiceClientConfig) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
8
|
+
serviceRegion?: "eu-1" | "us-1" | undefined;
|
|
9
|
+
env?: "stage" | "stable" | "prod" | undefined;
|
|
10
|
+
token: import("@wildix/smithy-utils").TokenProvider;
|
|
11
|
+
endpoint?: (() => Record<string, string>) | undefined;
|
|
12
|
+
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
13
|
+
cacheMiddleware?: boolean | undefined;
|
|
14
|
+
protocol?: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").$ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | import("@smithy/types").$ClientProtocolCtor<any, any> | undefined;
|
|
15
|
+
protocolSettings?: {
|
|
16
|
+
[setting: string]: unknown;
|
|
17
|
+
defaultNamespace?: string | undefined;
|
|
18
|
+
} | undefined;
|
|
19
|
+
apiVersion: string;
|
|
20
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
21
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
22
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
23
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
24
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
25
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
26
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
27
|
+
disableHostPrefix: boolean;
|
|
28
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
29
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
30
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
31
|
+
logger: import("@smithy/types").Logger;
|
|
32
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
33
|
+
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
34
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
35
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
36
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
37
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { StreamServiceClientConfig } from "./StreamServiceClient";
|
|
2
|
+
/**
|
|
3
|
+
* @internal
|
|
4
|
+
*/
|
|
5
|
+
export declare const getRuntimeConfig: (config: StreamServiceClientConfig) => {
|
|
6
|
+
apiVersion: string;
|
|
7
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
8
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
9
|
+
disableHostPrefix: boolean;
|
|
10
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
11
|
+
logger: import("@smithy/types").Logger;
|
|
12
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
13
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
14
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
15
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { StreamServiceExtensionConfiguration } from "./extensionConfiguration";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface RuntimeExtension {
|
|
6
|
+
configure(extensionConfiguration: StreamServiceExtensionConfiguration): void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
export interface RuntimeExtensionsConfig {
|
|
12
|
+
extensions: RuntimeExtension[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
|
package/package.json
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@wildix/stream-client",
|
|
3
|
+
"description": "@wildix/stream-client client",
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
9
|
+
"build:types": "tsc -p tsconfig.types.json",
|
|
10
|
+
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
11
|
+
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
|
|
12
|
+
"prepack": "yarn run clean && yarn run build",
|
|
13
|
+
"postpublish": "node ../../scripts/postpublish.js"
|
|
14
|
+
},
|
|
15
|
+
"main": "./dist-cjs/index.js",
|
|
16
|
+
"types": "./dist-types/index.d.ts",
|
|
17
|
+
"module": "./dist-es/index.js",
|
|
18
|
+
"sideEffects": false,
|
|
19
|
+
"dependencies": {
|
|
20
|
+
"tslib": "^2.6.2",
|
|
21
|
+
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
|
+
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
+
"@aws-sdk/core": "3.775.0",
|
|
24
|
+
"@aws-sdk/middleware-host-header": "3.775.0",
|
|
25
|
+
"@aws-sdk/middleware-logger": "3.775.0",
|
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.775.0",
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.775.0",
|
|
28
|
+
"@aws-sdk/types": "latest",
|
|
29
|
+
"@aws-sdk/util-user-agent-browser": "3.775.0",
|
|
30
|
+
"@aws-sdk/util-user-agent-node": "3.775.0",
|
|
31
|
+
"@smithy/config-resolver": "^4.1.0",
|
|
32
|
+
"@smithy/core": "^3.2.0",
|
|
33
|
+
"@smithy/fetch-http-handler": "^5.0.2",
|
|
34
|
+
"@smithy/hash-node": "^4.0.2",
|
|
35
|
+
"@smithy/invalid-dependency": "^4.0.2",
|
|
36
|
+
"@smithy/middleware-content-length": "^4.0.2",
|
|
37
|
+
"@smithy/middleware-retry": "^4.1.0",
|
|
38
|
+
"@smithy/middleware-serde": "^4.0.3",
|
|
39
|
+
"@smithy/middleware-stack": "^4.0.2",
|
|
40
|
+
"@smithy/node-config-provider": "^4.0.2",
|
|
41
|
+
"@smithy/node-http-handler": "^4.0.4",
|
|
42
|
+
"@smithy/protocol-http": "^5.1.0",
|
|
43
|
+
"@smithy/smithy-client": "^4.2.0",
|
|
44
|
+
"@smithy/types": "^4.2.0",
|
|
45
|
+
"@smithy/url-parser": "^4.0.2",
|
|
46
|
+
"@smithy/util-base64": "^4.0.0",
|
|
47
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
48
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
49
|
+
"@smithy/util-defaults-mode-browser": "^4.0.8",
|
|
50
|
+
"@smithy/util-defaults-mode-node": "^4.0.8",
|
|
51
|
+
"@smithy/util-retry": "^4.0.2",
|
|
52
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
53
|
+
"@wildix/smithy-utils": "^1.0.3"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@tsconfig/node18": "18.2.4",
|
|
57
|
+
"concurrently": "7.0.0",
|
|
58
|
+
"downlevel-dts": "0.10.1",
|
|
59
|
+
"rimraf": "^3.0.0",
|
|
60
|
+
"typescript": "~5.2.2",
|
|
61
|
+
"@types/node": "^18.19.69"
|
|
62
|
+
},
|
|
63
|
+
"engines": {
|
|
64
|
+
"node": ">=18.0.0"
|
|
65
|
+
},
|
|
66
|
+
"typesVersions": {
|
|
67
|
+
"<4.0": {
|
|
68
|
+
"dist-types/*": [
|
|
69
|
+
"dist-types/ts3.4/*"
|
|
70
|
+
]
|
|
71
|
+
}
|
|
72
|
+
},
|
|
73
|
+
"files": [
|
|
74
|
+
"dist-*/**"
|
|
75
|
+
],
|
|
76
|
+
"license": "Apache-2.0",
|
|
77
|
+
"browser": {
|
|
78
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
|
|
79
|
+
},
|
|
80
|
+
"react-native": {
|
|
81
|
+
"./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
|
|
82
|
+
}
|
|
83
|
+
}
|