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

@optimizely/opti-cli

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@optimizely/opti-cli - npm Package Compare versions

Comparing version 1.0.0-beta.3 to 1.0.0-beta.4

dist/commands/availability/List.d.ts

8

dist/lib/Rivendell.d.ts

@@ -183,2 +183,6 @@ import { AppContext } from './AppContext';

}
interface Shard {
id: string;
description: string;
}
function searchAccounts(term: string, shard: string): Promise<Account[]>;

@@ -272,2 +276,6 @@ function whoami(): Promise<Developer>;

function uploadCredentials(vendor: string, appId: string, version: string, checksum: string): Promise<AwsCredentials>;
/**
* List shards.
*/
function shards(): Promise<Shard[]>;
}

@@ -235,3 +235,11 @@ "use strict";

Rivendell.uploadCredentials = uploadCredentials;
/**
* List shards.
*/
async function shards() {
const response = await RivendellApi_1.RivendellApi.get('shards');
return response.body;
}
Rivendell.shards = shards;
})(Rivendell = exports.Rivendell || (exports.Rivendell = {}));
//# sourceMappingURL=Rivendell.js.map

19

dist/oo-cli.manifest.json

@@ -645,2 +645,19 @@ {

},
"availability": {
"namespaces": {},
"commands": [
{
"path": "commands/availability/List.js",
"className": "ListCommand",
"key": "list",
"command": "list",
"aliases": [],
"help": "List all availability zones",
"documentation": "TBD",
"flags": [],
"options": [],
"params": []
}
]
},
"env": {

@@ -686,3 +703,3 @@ "namespaces": {},

"package": {
"version": "1.0.0-beta.3",
"version": "1.0.0-beta.4",
"name": "@optimizely/opti-cli",

@@ -689,0 +706,0 @@ "license": "Apache-2.0",

2

package.json
{
"name": "@optimizely/opti-cli",
"version": "1.0.0-beta.3",
"version": "1.0.0-beta.4",
"description": "Optimizely command line interface",

@@ -5,0 +5,0 @@ "repository": "https://github.com/ZaiusInc/opti-cli",

@@ -211,2 +211,7 @@ import {RivendellApi} from './RivendellApi';

export interface Shard {
id: string;
description: string;
}
export async function searchAccounts(term: string, shard: string): Promise<Account[]> {

@@ -399,2 +404,10 @@ const path = `${shard}/accounts/search?term=${encodeURIComponent(term)}`.replace(/^\//, '');

}
/**
* List shards.
*/
export async function shards(): Promise<Shard[]> {
const response = await RivendellApi.get<Shard[]>('shards');
return response.body;
}
}

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