Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/speakeasy

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/speakeasy - npm Package Compare versions

Comparing version 2.0.5 to 2.0.6

78

speakeasy/index.d.ts

@@ -15,7 +15,7 @@ // Type definitions for speakeasy 2.0

*/
encoding?: Encoding;
encoding?: Encoding | undefined;
/**
* Algorithm, defaults to sha1
*/
algorithm?: Algorithm;
algorithm?: Algorithm | undefined;
}

@@ -41,3 +41,3 @@

*/
qr_code_ascii?: string;
qr_code_ascii?: string | undefined;
/**

@@ -48,3 +48,3 @@ * URL for the QR code for the hex secret.

*/
qr_code_hex?: string;
qr_code_hex?: string | undefined;
/**

@@ -55,3 +55,3 @@ * URL for the QR code for the base32 secret.

*/
qr_code_base32?: string;
qr_code_base32?: string | undefined;
/**

@@ -67,3 +67,3 @@ * URL for the Google Authenticator otpauth

*/
otpauth_url?: string;
otpauth_url?: string | undefined;
}

@@ -83,3 +83,3 @@ export interface GeneratedSecretWithOtpAuthUrl extends GeneratedSecret {

*/
key?: string;
key?: string | undefined;
}

@@ -91,11 +91,11 @@

*/
length?: number;
length?: number | undefined;
/**
* Whether to include symbols, defaults to false
*/
symbols?: boolean;
symbols?: boolean | undefined;
/**
* The name to use with Google Authenticator, deaults to 'SecretKey'
*/
name?: string;
name?: string | undefined;
/**

@@ -105,3 +105,3 @@ * Whether to output a Google Authenticator-compatible otpauth:// URL

*/
otpauth_url?: boolean;
otpauth_url?: boolean | undefined;
/**

@@ -111,3 +111,3 @@ * The provider or service with which the

*/
issuer?: string;
issuer?: string | undefined;
/**

@@ -119,3 +119,3 @@ * Output QR code URLs for the token.

*/
qr_codes?: boolean;
qr_codes?: boolean | undefined;
/**

@@ -127,3 +127,3 @@ * Output a Google Authenticator otpauth:// QR code URL.

*/
google_auth_qr?: boolean;
google_auth_qr?: boolean | undefined;
}

@@ -142,11 +142,11 @@ export interface GenerateSecretWithOtpAuthUrlOptions extends GenerateSecretOptions {

*/
length?: number;
length?: number | undefined;
/**
* The number of digits for the one-time passcode, defaults to 6
*/
digits?: number;
digits?: number | undefined;
/**
* The digest, automatically generated by default
*/
digest?: Buffer;
digest?: Buffer | undefined;
}

@@ -171,3 +171,3 @@

*/
digits?: number;
digits?: number | undefined;
/**

@@ -180,3 +180,3 @@ * The allowable margin for the counter.

*/
window?: number;
window?: number | undefined;
}

@@ -189,7 +189,7 @@

*/
time?: number;
time?: number | undefined;
/**
* Time step in seconds, defaults to 30
*/
step?: number;
step?: number | undefined;
/**

@@ -199,19 +199,19 @@ * Initial time since the UNIX epoch from which to calculate the counter value,

*/
epoch?: number;
epoch?: number | undefined;
/**
* @deprecated use epoch
*/
initial_time?: number;
initial_time?: number | undefined;
/**
* The number of digits for the one-time passcode, defaults to 6
*/
digits?: number;
digits?: number | undefined;
/**
* @deprecated use digits
*/
length?: number;
length?: number | undefined;
/**
* The digest, automatically generated by default
*/
digest?: Buffer;
digest?: Buffer | undefined;
/**

@@ -224,7 +224,7 @@ * Shared secret key

*/
key?: string;
key?: string | undefined;
/**
* The counter value, calculated from time by default
*/
counter?: number;
counter?: number | undefined;
}

@@ -245,7 +245,7 @@

*/
time?: number;
time?: number | undefined;
/**
* Time step in seconds, defaults to 30
*/
step?: number;
step?: number | undefined;
/**

@@ -255,7 +255,7 @@ * Initial time since the UNIX epoch from which to calculate the counter value,

*/
epoch?: number;
epoch?: number | undefined;
/**
* The number of digits for the one-time passcode, defaults to 6
*/
digits?: number;
digits?: number | undefined;
/**

@@ -268,7 +268,7 @@ * The allowable margin for the counter.

*/
window?: number;
window?: number | undefined;
/**
* The counter value, calculated from time by default
*/
counter?: number;
counter?: number | undefined;
}

@@ -289,11 +289,11 @@

*/
type?: 'htop' | 'totp';
type?: 'htop' | 'totp' | undefined;
/**
* The initial counter value, required for HOTP.
*/
counter?: number;
counter?: number | undefined;
/**
* The provider or service with which the secret key is associated.
*/
issuer?: string;
issuer?: string | undefined;
/**

@@ -303,3 +303,3 @@ * The number of digits for the one-time passcode. Currently ignored

*/
digits?: number;
digits?: number | undefined;
/**

@@ -309,3 +309,3 @@ * The length of time for which a TOTP code will be valid, in seconds.

*/
period?: number;
period?: number | undefined;
}

@@ -312,0 +312,0 @@

{
"name": "@types/speakeasy",
"version": "2.0.5",
"version": "2.0.6",
"description": "TypeScript definitions for speakeasy",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/speakeasy",
"license": "MIT",

@@ -24,3 +25,3 @@ "contributors": [

"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {

@@ -35,4 +36,4 @@ "type": "git",

},
"typesPublisherContentHash": "94fd7f37d63a9c41102dbaa6adf52105da770feb49e47b175fcbfcc4d88ae7f4",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "15b01b88d05ef4fe9bba70c51ff8c84fd63eb602254c6141db045c85ea11ed4e",
"typeScriptVersion": "3.6"
}

@@ -8,10 +8,10 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/speakeasy
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/speakeasy.
Additional Details
* Last updated: Mon, 29 Jul 2019 17:13:56 GMT
* Dependencies: @types/node
### Additional Details
* Last updated: Tue, 06 Jul 2021 16:35:09 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by Lucas Woo <https://github.com/legendecas>, Alexander Batukhtin <https://github.com/mrOlorin>, and Aayush Kapoor <https://github.com/xeoneux>.
These definitions were written by [Lucas Woo](https://github.com/legendecas), [Alexander Batukhtin](https://github.com/mrOlorin), and [Aayush Kapoor](https://github.com/xeoneux).

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc