@aws-lite/sns-types 0.0.10 → 0.0.11

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.
Files changed (2) hide show
  1. package/index.d.ts +3 -1
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -5,6 +5,8 @@ import {
5
5
  // $IMPORTS_END
6
6
  } from "@aws-sdk/client-sns";
7
7
 
8
+ import type { AwsLiteMethodOptions } from "@aws-lite/client";
9
+
8
10
  declare interface AwsLiteSNS {
9
11
  /* ! Do not remove METHODS_START / METHODS_END ! */
10
12
  // $METHODS_START
@@ -13,7 +15,7 @@ declare interface AwsLiteSNS {
13
15
  * - AWS docs: {@link https://docs.aws.amazon.com/sns/latest/api/API_Publish.html SNS: Publish}
14
16
  * - aws-lite docs: {@link https://github.com/aws-lite/aws-lite/blob/main/plugins/sns/readme.md#Publish SNS: Publish}
15
17
  */
16
- Publish: (input: { Message: string, MessageAttributes?: string, MessageDeduplicationId?: string, MessageGroupId?: string, MessageStructure?: string, PhoneNumber?: string, Subject?: string, TargetArn?: string, TopicArn?: string }) => Promise<PublishResponse>
18
+ Publish: (input: AwsLiteMethodOptions & { Message: string, MessageAttributes?: string, MessageDeduplicationId?: string, MessageGroupId?: string, MessageStructure?: string, PhoneNumber?: string, Subject?: string, TargetArn?: string, TopicArn?: string }) => Promise<PublishResponse>
17
19
  // $METHODS_END
18
20
  }
19
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-lite/sns-types",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "Type definitions for the `@aws-lite/sns` plugin",
5
5
  "homepage": "https://aws-lite.org/services/sns",
6
6
  "repository": {