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

@qgisk/steamresolver

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qgisk/steamresolver - npm Package Compare versions

Comparing version 1.0.6 to 2.0.0

CHANGELOG.md

2

package.json
{
"name": "@qgisk/steamresolver",
"version": "1.0.6",
"version": "2.0.0",
"description": "Steam ID Lookup from custom urls and the other way around",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -34,3 +34,3 @@ # Steam ID Resolver for NodeJS

// Initiate the client
const Resolver = new SteamResolver();
const Resolve = new SteamResolver();

@@ -78,4 +78,4 @@ // Create a function that gets the custom url

```javascript
const res = await Resolve.from64ToFull('76561198250920834');
const res = await Resolve.from64ToFull('https://steamcommunity.com/profiles/76561198250920834');
const res = await Resolve.from64ToProfile('76561198250920834');
const res = await Resolve.from64ToProfile('https://steamcommunity.com/profiles/76561198250920834');
```

@@ -90,4 +90,4 @@

```javascript
const res = await Resolve.fromCustomToFull('Demiann');
const res = await Resolve.fromCustomToFull('https://steamcommunity.com/id/Demiann');
const res = await Resolve.fromCustomToProfile('Demiann');
const res = await Resolve.fromCustomToProfile('https://steamcommunity.com/id/Demiann');
```

@@ -113,4 +113,4 @@

```javascript
const res = await Resolve.fromGroupUrlToFull('ROBOTAIM');
const res = await Resolve.fromGroupUrlToFull('https://steamcommunity.com/groups/ROBOTAIM');
const res = await Resolve.fromGroupUrlToProfile('ROBOTAIM');
const res = await Resolve.fromGroupUrlToProfile('https://steamcommunity.com/groups/ROBOTAIM');
```

@@ -117,0 +117,0 @@

@@ -14,3 +14,2 @@ const fetch = require('isomorphic-unfetch');

* @public
* @version 1.0.6
* @license MIT

@@ -49,7 +48,7 @@ */

* @description From 64 to full information
* @function from64ToFull()
* @function from64ToProfile()
* @param {String} steamID
* @returns {String}
*/
async from64ToFull(steamID) {
async from64ToProfile(steamID) {
const formattedID = Utils.parseParams(steamID);

@@ -64,7 +63,7 @@

* @description From custom to full information
* @function fromCustomToFull()
* @function fromCustomToProfile()
* @param {String} customURL
* @returns {String}
*/
async fromCustomToFull(customURL) {
async fromCustomToProfile(customURL) {
const formattedID = Utils.parseParams(customURL);

@@ -79,3 +78,3 @@

* @description From group custom url to id
* @function fromCustomToFull()
* @function fromCustomToProfile()
* @param {String} groupURL

@@ -94,7 +93,7 @@ * @returns {String}

* @description From group url to full information
* @function fromCustomToFull()
* @function fromCustomToProfile()
* @param {String} groupURL
* @returns {Promise}
*/
async fromGroupUrlToFull(groupURL) {
async fromGroupUrlToProfile(groupURL) {
const formattedID = Utils.parseParams(groupURL);

@@ -101,0 +100,0 @@

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