sms77-client
Advanced tools
Comparing version 2.10.0 to 2.11.0
@@ -167,3 +167,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.Sms77Client = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | ||
headers: { | ||
'X-Api-Key': this.apiKey, | ||
Authorization: "Basic " + this.apiKey, | ||
sentWith: this.sentWith | ||
@@ -170,0 +170,0 @@ }, |
@@ -28,8 +28,8 @@ import { ANALYTICS_GROUPS, ANALYTICS_LABELS, ANALYTICS_SUBACCOUNTS } from '../constants/byEndpoint/analytics'; | ||
export declare type AnalyticsParams = { | ||
start?: string; | ||
end?: string; | ||
group_by?: AnalyticsGroupBy; | ||
label?: AnalyticsLabel; | ||
start?: string; | ||
subaccounts?: AnalyticsSubaccounts; | ||
group_by?: AnalyticsGroupBy; | ||
}; | ||
export declare type AnalyticsResponse = Analytic[]; |
import { SMS_DEBUG_VALUES, SMS_ENCODINGS, SMS_SIGNATURE_POSITIONS, SMS_TYPES } from '../constants/byEndpoint/sms'; | ||
export declare type SmsResponse = number | string | SmsJsonResponse; | ||
export declare type AddSignatureOpts = { | ||
@@ -8,8 +7,12 @@ position: typeof SMS_SIGNATURE_POSITIONS[number]; | ||
}; | ||
export declare type SmsResponse = number | string | SmsJsonResponse; | ||
export declare type SmsEncoding = typeof SMS_ENCODINGS[number]; | ||
export declare type SmsFile = { | ||
contents: string; | ||
name: string; | ||
password?: string; | ||
validity?: number; | ||
}; | ||
export declare type SmsMessage = { | ||
encoding: typeof SMS_ENCODINGS[number]; | ||
encoding: SmsEncoding; | ||
error: string | null; | ||
@@ -16,0 +19,0 @@ error_text: string | null; |
@@ -9,3 +9,3 @@ { | ||
"dependencies": { | ||
"date-fns": "^2.17.0" | ||
"date-fns": "^2.21.1" | ||
}, | ||
@@ -15,3 +15,3 @@ "devDependencies": { | ||
"@types/node": "^12.12.6", | ||
"@types/node-fetch": "^2.5.8", | ||
"@types/node-fetch": "^2.5.10", | ||
"@types/uuid": "^8.3.0", | ||
@@ -24,3 +24,3 @@ "browserify": "^17.0.0", | ||
"tsify": "^5.0.2", | ||
"typescript": "^4.2.3", | ||
"typescript": "^4.2.4", | ||
"uuid": "^8.3.2" | ||
@@ -66,4 +66,4 @@ }, | ||
"types": "dist/Sms77Client.d.ts", | ||
"version": "2.10.0", | ||
"version": "2.11.0", | ||
"homepage": "https://github.com/sms77io/js-client" | ||
} |
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
81539
1964
Updateddate-fns@^2.21.1