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

@heroiclabs/nakama-js

Package Overview
Dependencies
Maintainers
4
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@heroiclabs/nakama-js - npm Package Versions

13

2.3.0

Diff

Changelog

Source

[2.3.0]

Fixed

  • Fixed 401 Unauthorized Responses from the server in response to rpcHttpKey.

Changed

  • Changed parameter list optionals and sequencing in rpcHttpKey.

    • The signature is now listed as follows: rpcHttpKey(httpKey: string, id: string, input?: object);
  • Renamed ApiOverrideOperator to ApiOperator.

  • Query params are now formatted with snake case rather than camel case internally by client.

lugehorsam
published 2.2.0 •

Changelog

Source

[2.2.0]

Added

  • Added purchase validation for Apple, Google and Huawei.
  • Added an ApiOverrideOperator to leaderboard writes.
  • Added ability to logout of a session with sessionLogout.
  • Added realtime party support.
  • Added ability to import steam friends through importSteamFriends.

Changed

  • Removes the deprecated generalist socket.Send function for sending data. Use the other exported Socket methods such as socket.addMatchmaker for better type checking.
  • Changed the return type from socket.addMatchmaker to a MatchmakerTicket rather than a MatchmakerMatched.
  • Changed signature of authenticateSteam and linkSteam to allow for a sync option.
  • Upgraded ts-proto dependency and shipped type definitions with the protobuf adapter.
  • Sessions that are close to expiration will now be automatically refreshed. You can configure this behavior via the autoRefreshSession parameter in the Client constructor and the expiredTimespanMs expiration buffer value on the client.
  • Removed session parameter from rpcGet and renamed it to rpcHttpKey. This function should be used with an http key rather than a session.

Fixed

  • 401 Unauthorized errors while renewing sessions.
lugehorsam
published 2.1.7 •

Changelog

Source

[2.1.7]

Fixed

  • Fixed cacheable cursor parsing in ChannelMessageList.
lugehorsam
published 2.1.6 •

Changelog

Source

[2.1.6]

Added

  • Added a cachable cursor to ChannelMessageList.
lugehorsam
published 2.1.5 •

Changelog

Source

[2.1.5]

Fixed

  • Fixed issue where rollup.js was not bundling in js-base64 library to UMD distribution.
lugehorsam
published 2.1.4 •

Changelog

Source

[2.1.4]

Added

  • Added React Native integration example to packages/ folder. The example builds for iOS and Android.
  • More tests for group chat, social profile ids.

Fixed

  • Fixed base64 imports for React Native
  • Rollup not finding tslib due to Yarn workspace inconsistency.
  • Authenticate methods now properly accept "create" and "username" parameters for email, Gamecenter, device, and Steam methods.

Changed

  • Base64 library to base64-js (for Typescript support.)
lugehorsam
published 2.1.3 •

Changelog

Source

[2.1.3]

Added

  • Added Webpack and Create React App integration examples to packages/ folder.

Changed

  • Canonical import examples no longer reference a single exported object.
  • Moved tests to their own workspace and upgraded Jest dependencies.

Fixed

  • Fixed browser imports by removing the browser IIFE distribution entry in package.json. The IIFE distribution is still available in the repository but is no longer chosen as an option by bundlers following conventional package.json load entries.
lugehorsam
published 2.1.2 •

Changelog

Source

[2.1.2]

Fixed

  • Paths to distribution files in package.json
lugehorsam
published 2.1.1 •

Changelog

Source

[2.1.1]

Added

  • Support for Session Vars.
  • Added interface for Session object.
  • Support for Tournaments.
  • Support for events.
  • Update to support features through Nakama 2.14.0
  • Implemented base64 encoder and decoder for unicode characters
  • Added support for protocol buffer payloads via Web Sockets.
  • Added support for Facebook Instant Game Authentication.
  • Added support for Apple authentication.

Changed

  • Simplified the way callback IDs are generated. (Thanks @dimon4eg).
  • Small improvements to TypeScript typings. (Thanks @Blaizer).
  • Updated minimum TypeScript language to 3.5 version. (Thanks @Blaizer).
  • Migrated test suite to Typescript
  • Migrated build system to esbuild
  • Update rollup.js which is still used for Cocos support.
  • Updated Yarn version to 2.0
  • Signatures for all Client.ts methods have been flattened to take primitives rather than composite objects.

Fixed

  • Typo fix in Match interface to use Presences.
  • Add missing MatchmakerUser typescript interface definition.
  • Authentication functions no longer check for session tokens.
  • Fix for Cocos Creator support that allows the setting of XmlHttpRequest.withCredentials to be bypassed if the property does not have a setter.
  • Internal type-checking for the generated client methods.
lugehorsam
published 2.1.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