Comparing version 2.0.11 to 2.0.12
{ | ||
"name": "sqns", | ||
"version": "2.0.11", | ||
"version": "2.0.12", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -27,3 +27,3 @@ import { TopicAttributes, TopicTag } from '../../../../typings/class-types'; | ||
updateTopicAttributes(topic: Topic): Promise<void>; | ||
createSubscription(user: User, topic: Topic, protocol: SupportedProtocol, endPoint: string, Attributes: SubscriptionAttributes): Promise<Subscription>; | ||
createSubscription(user: User, topic: Topic, protocol: SupportedProtocol, endPoint: string, Attributes?: SubscriptionAttributes): Promise<Subscription>; | ||
findSubscription(topic: Topic, protocol: string, endPoint: string): Promise<Subscription>; | ||
@@ -30,0 +30,0 @@ createSubscriptionVerificationToken(subscription: Subscription): Promise<SubscriptionVerificationToken>; |
@@ -46,3 +46,3 @@ "use strict"; | ||
} | ||
async createSubscription(user, topic, protocol, endPoint, Attributes) { | ||
async createSubscription(user, topic, protocol, endPoint, Attributes = { entry: [] }) { | ||
var _a; | ||
@@ -49,0 +49,0 @@ const subscription = await this.findSubscription(topic, protocol, endPoint); |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
630652