New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aresrpg/aresrpg-sdk

Package Overview
Dependencies
Maintainers
0
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aresrpg/aresrpg-sdk - npm Package Compare versions

Comparing version 4.1.4 to 4.1.5

14

package.json
{
"name": "@aresrpg/aresrpg-sdk",
"version": "4.1.4",
"version": "4.1.5",
"description": "General SDK to interract with AresRPG",

@@ -64,3 +64,3 @@ "type": "module",

"iterator-helper": "^1.3.4",
"lru-cache": "^10.2.2",
"lru-cache": "^10.3.0",
"pino": "^9.2.0",

@@ -70,5 +70,5 @@ "spiralloop": "^1.0.2"

"devDependencies": {
"@types/node": "^20.14.8",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"@types/node": "^20.14.9",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"dotenv": "^16.4.5",

@@ -80,7 +80,7 @@ "eslint": "^8.57.0",

"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.2.0",
"eslint-plugin-promise": "6.4.0",
"husky": "^4.3.8",
"lint-staged": "15.2.7",
"prettier": "3.3.2",
"typescript": "5.5.2"
"typescript": "5.5.3"
},

@@ -87,0 +87,0 @@ "husky": {

@@ -5,3 +5,4 @@ import { parse_sui_object } from '../cache.js'

/** @param {import("../../../types.js").Context} context */
export function get_character_by_id({ sui_client, types }) {
export function get_character_by_id(context) {
const { types, sui_client } = context
return async id => {

@@ -16,6 +17,4 @@ const character = parse_sui_object(

if (!character) return
if (character._type !== `${types.PACKAGE_ID}::character::Character`)
throw new Error(`INVALID_CONTRACT`)
return parse_character({ sui_client, types })(character)
return parse_character(context)(character)
}
}
/** @param {import("../../../types.js").Context} context */
export function get_character_by_id({ sui_client, types }: import("../../../types.js").Context): (id: any) => Promise<import("../../../types.js").SuiCharacter>;
export function get_character_by_id(context: import("../../../types.js").Context): (id: any) => Promise<import("../../../types.js").SuiCharacter>;
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