@chatium/sdk
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -8,2 +8,3 @@ import { ChatiumAuthType } from './ChatiumAuth'; | ||
atp?: ChatiumAuthType; | ||
akey?: string; | ||
tkn?: string; | ||
@@ -10,0 +11,0 @@ uid?: string; |
@@ -14,3 +14,7 @@ "use strict"; | ||
(!raw.uqid || typeof raw.uqid === 'string') && | ||
(!raw.aid || (typeof raw.aid === 'number' && typeof raw.tkn === 'string' && typeof raw.atp === 'string')) && | ||
(!raw.aid || | ||
(typeof raw.aid === 'number' && | ||
typeof raw.tkn === 'string' && | ||
typeof raw.atp === 'string' && | ||
(!raw.akey || typeof raw.akey === 'string'))) && | ||
(!raw.uid || | ||
@@ -17,0 +21,0 @@ (typeof raw.uid === 'string' && |
export interface ChatiumAuth { | ||
id: number; | ||
type: ChatiumAuthType; | ||
key?: string; | ||
requestToken: string; | ||
@@ -5,0 +6,0 @@ } |
@@ -22,2 +22,3 @@ "use strict"; | ||
type: token.atp, | ||
key: token.akey, | ||
requestToken: token.tkn, | ||
@@ -24,0 +25,0 @@ } |
{ | ||
"name": "@chatium/sdk", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "SDK for developing custom chatium backends using NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
36176
836