File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " solapi" ,
3- "version" : " 5.1.3 " ,
3+ "version" : " 5.1.4 " ,
44 "description" : " SOLAPI SDK for Node.js(Server Side Only)" ,
55 "repository" : {
66 "type" : " git" ,
3131 "scripts" : {
3232 "clean" : " rimraf dist" ,
3333 "compress" : " yarn uglifyjs -o ./dist/index.js ./dist/index.js && yarn uglifyjs -o ./dist/module.js ./dist/module.js" ,
34- "build" : " yarn clean && parcel build --no-source-maps && yarn compress" ,
34+ "build" : " yarn clean && parcel build && yarn compress" ,
3535 "watch" : " parcel watch" ,
3636 "docs" : " typedoc --entryPointStrategy expand ./src"
3737 },
6767 "files" : [
6868 " /dist"
6969 ],
70- "packageManager" : " yarn@3.2.3"
70+ "packageManager" : " yarn@3.2.3" ,
71+ "volta" : {
72+ "node" : " 16.14.1"
73+ }
7174}
Original file line number Diff line number Diff line change @@ -11,9 +11,10 @@ import {
1111export type DefaultAgentType = {
1212 sdkVersion : string
1313 osPlatform : string
14+ appId ?: string ;
1415} ;
1516
16- const sdkVersion = 'nodejs/5.1.3 ' ;
17+ const sdkVersion = 'nodejs/5.1.4 ' ;
1718
1819export const defaultAgent : DefaultAgentType = {
1920 sdkVersion,
@@ -22,7 +23,6 @@ export const defaultAgent: DefaultAgentType = {
2223
2324abstract class DefaultMessageRequest {
2425 allowDuplicates : boolean ;
25- appId : string | undefined ;
2626 protected agent : DefaultAgentType ;
2727
2828 protected constructor ( ) {
@@ -41,7 +41,7 @@ export class SingleMessageSendingRequest extends DefaultMessageRequest {
4141 this . allowDuplicates = allowDuplicates ;
4242 }
4343 if ( appId ) {
44- this . appId = appId ;
44+ this . agent . appId = appId ;
4545 }
4646 }
4747}
@@ -56,7 +56,7 @@ export class MultipleMessageSendingRequest extends DefaultMessageRequest {
5656 this . allowDuplicates = allowDuplicates ;
5757 }
5858 if ( appId ) {
59- this . appId = appId ;
59+ this . agent . appId = appId ;
6060 }
6161 }
6262}
@@ -72,7 +72,7 @@ export class MultipleDetailMessageSendingRequest extends DefaultMessageRequest {
7272 this . allowDuplicates = allowDuplicates ;
7373 }
7474 if ( appId ) {
75- this . appId = appId ;
75+ this . agent . appId = appId ;
7676 }
7777 if ( scheduledDate ) {
7878 this . scheduledDate = formatISO ( stringDateTransfer ( scheduledDate ) ) ;
You can’t perform that action at this time.
0 commit comments