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

@arkadiuminc/sdk

Package Overview
Dependencies
Maintainers
0
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arkadiuminc/sdk - npm Package Compare versions

Comparing version 2.8.1 to 2.9.0

13

dist/pkg/api/features/auth/index.d.ts

@@ -30,2 +30,3 @@ import { ApiEnv, Backend } from '../backend/backend.api';

private authUIManager;
private authProblem;
constructor(userProfileReader: UserProfileReaderContract, authUIManager: AuthUIManagerContract);

@@ -37,2 +38,14 @@ init(env: ApiEnv): Promise<void>;

openAuthForm(): Promise<void>;
/**
* this method should be exercised on the game side to let game know about
* issues that happen during auth outside the scope of direct API calls
*/
onAuthProblemChange(observer: any): Promise<void>;
/**
* this method should be internally called every time a problem happens
* outside the scope of direct API calls
* @private
* @param error string
*/
raiseOnAuthProblem(error: string): void;
onOpenAuthForm(observer: any): () => void;

@@ -39,0 +52,0 @@ static getArenaApi(backendApi: Backend, host: IHost, rpcProvider: RpcProvider): Auth;

@@ -38,3 +38,11 @@ import { Client as NakamaApiClient, Session as NakamaSession } from '@heroiclabs/nakama-js';

private onAuthBootstrap;
/**
* this method is called when the user is logged in
* CAUTION: this method is called from eagle login status change, therefore it can't throw
*/
private onEagleLogIn;
/**
* this method is called when the user is logged out
* CAUTION: this method is called from eagle login status change, therefore it can't throw
*/
private onEagleLogOut;

@@ -41,0 +49,0 @@ private getAccount;

2

package.json
{
"name": "@arkadiuminc/sdk",
"version": "2.8.1",
"version": "2.9.0",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [],

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