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

@digital-realty/ix-account-switcher

Package Overview
Dependencies
Maintainers
0
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digital-realty/ix-account-switcher - npm Package Compare versions

Comparing version 1.0.28-alpha.0 to 1.0.28

0

dist/account-mapper.d.ts
import type { Account, IAccount } from './types.js';
export declare const mapAccountToIAccount: (payload: Account[]) => IAccount[];

@@ -0,0 +0,0 @@ export const mapAccountToIAccount = (payload) => {

export declare const AccountSwitcherStyles: import("lit").CSSResult;

@@ -0,0 +0,0 @@ import { css } from 'lit';

export { IxAccountSwitcher } from './IxAccountSwitcher.js';
export { authedUser } from './state/authedUser.js';
export { IxAccountSwitcher } from './IxAccountSwitcher.js';
export { authedUser } from './state/authedUser.js';
//# sourceMappingURL=index.js.map

@@ -0,0 +0,0 @@ import { IxAccountSwitcher } from './IxAccountSwitcher.js';

@@ -0,0 +0,0 @@ import { css } from 'lit';

@@ -0,0 +0,0 @@ import '@digital-realty/ix-dialog/ix-dialog.js';

4

dist/IxAccountSwitcher.js

@@ -170,3 +170,5 @@ import { __decorate } from "tslib";

<div class="subaccount-wrap">
<span class="subaccount-name"> ${(_a = selectedAccount === null || selectedAccount === void 0 ? void 0 : selectedAccount.displayName) !== null && _a !== void 0 ? _a : selectedAccount === null || selectedAccount === void 0 ? void 0 : selectedAccount.name} </span>
<span class="subaccount-name">
${(_a = selectedAccount === null || selectedAccount === void 0 ? void 0 : selectedAccount.displayName) !== null && _a !== void 0 ? _a : selectedAccount === null || selectedAccount === void 0 ? void 0 : selectedAccount.name}
</span>
<ix-icon class="dd-icon">arrow_drop_down</ix-icon>

@@ -173,0 +175,0 @@ </div>

@@ -0,0 +0,0 @@ declare class AuthedUserState {

@@ -0,0 +0,0 @@ import { makeAutoObservable } from 'mobx';

@@ -0,0 +0,0 @@ export interface IAccount {

export {};
//# sourceMappingURL=types.js.map
import type { NestedAccounts } from '../types.js';
declare const findAccountById: (accounts: NestedAccounts[], id: string) => NestedAccounts | null;
export default findAccountById;

@@ -0,0 +0,0 @@ const findAccountById = (accounts, id) => {

@@ -0,0 +0,0 @@ import type { IIxTreeNode } from '@digital-realty/ix-tree';

@@ -0,0 +0,0 @@ // TODO: Should use correctly typed definition rather than any

@@ -6,3 +6,3 @@ {

"author": "Digital Realty",
"version": "1.0.28-alpha.0",
"version": "1.0.28",
"type": "module",

@@ -30,9 +30,9 @@ "main": "dist/index.js",

"@adobe/lit-mobx": "^2.2.2",
"@digital-realty/ix-dialog": "^1.0.30-alpha.0",
"@digital-realty/ix-field": "^1.0.7-alpha.0",
"@digital-realty/ix-icon-button": "^1.0.42-alpha.0",
"@digital-realty/ix-label-tag": "^2.1.11-alpha.0",
"@digital-realty/ix-select": "^1.0.40-alpha.0",
"@digital-realty/ix-tree": "^3.0.11-alpha.0",
"@digital-realty/theme": "^1.0.32-alpha.0",
"@digital-realty/ix-dialog": "^1.0.30",
"@digital-realty/ix-field": "^1.0.6",
"@digital-realty/ix-icon-button": "^1.0.41",
"@digital-realty/ix-label-tag": "^2.1.10",
"@digital-realty/ix-select": "^1.0.39",
"@digital-realty/ix-tree": "^3.0.10",
"@digital-realty/theme": "^1.0.30",
"lit": "^2.0.2",

@@ -111,3 +111,3 @@ "mobx": "^6.12.3",

],
"gitHead": "020de6dab25bbe6058e9a71b2c56681822403481"
"gitHead": "705b8d4a1375a3ce54b1562c65d8636b98b14466"
}

Sorry, the diff of this file is not supported yet

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