tiktok-shop
Advanced tools
Comparing version 1.0.5 to 1.0.6
{ | ||
"name": "tiktok-shop", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "Generate \"signature\" and \"token\" for Tiktok Shop.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -107,3 +107,3 @@ [![Tiktok-shop Logo](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWnWWI1yW_T2VRAYVgkByltWqH41X-Qfslgr2qHM3j64VVksDjz9CxzwbQ8M1vYlaB7QIN5pg0BUcxGP05kIcfXSNusvmeCkxVIQYkYyC12bHwuW__r9krtMPXN8yPhaXrcapdhDD70RE5vzjLb26D3d60STB5GFypF3OsNTnYhIrAtowx7eC54qJsrKGk/s1600/Untitled-2.png)](https://github.com/tudinhacoustic/tiktok-shop) | ||
const authCode = 'yourAuthCode'; | ||
const accessToken = tiktokShop.authCodeToken(config, authCode); | ||
const accessToken = await tiktokShop.authCodeToken(config, authCode); | ||
console.info(accessToken); | ||
@@ -136,3 +136,3 @@ ``` | ||
const refreshToken = 'yourRefreshToken'; | ||
const accessToken = tiktokShop.authCodeToken(config, refreshToken); | ||
const accessToken = await tiktokShop.generateToken(config, refreshToken); | ||
console.info(accessToken); | ||
@@ -139,0 +139,0 @@ ``` |
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
14231