firebase-app-distribution
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -1,2 +0,2 @@ | ||
import FirebaseAppDistribution from "."; | ||
import { FirebaseAppDistribution } from "."; | ||
export interface Group { | ||
@@ -32,3 +32,3 @@ name: string; | ||
delete(groupId: validGroupId): Promise<number>; | ||
get(name: string): Promise<Group | null>; | ||
get(groupId: validGroupId): Promise<Group | null>; | ||
list({ pageSize, maxPages }?: GroupListArgs): Promise<Group[]>; | ||
@@ -35,0 +35,0 @@ removeTesters({ groupId, emails, }: GroupRemoveTestersArgs): Promise<number>; |
@@ -52,6 +52,6 @@ "use strict"; | ||
} | ||
get(name) { | ||
get(groupId) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const accessToken = yield this.parent.getAccessToken(); | ||
const url = `${(0, utils_1.constructUrl)(this.projectNumber, `groups/${name}`)}`; | ||
const url = `${(0, utils_1.constructUrl)(this.projectNumber, `groups/${groupId}`)}`; | ||
try { | ||
@@ -58,0 +58,0 @@ const response = yield (0, utils_1.makeRequest)(url, { |
@@ -37,3 +37,3 @@ import { AuthClient, ExternalAccountClientOptions, ImpersonatedOptions, JWTOptions, OAuth2ClientOptions, UserRefreshClientOptions } from "google-auth-library"; | ||
} | ||
export default class FirebaseAppDistribution { | ||
export declare class FirebaseAppDistribution { | ||
projectNumber: string; | ||
@@ -40,0 +40,0 @@ testers: Testers; |
@@ -15,2 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.FirebaseAppDistribution = void 0; | ||
const google_auth_library_1 = require("google-auth-library"); | ||
@@ -40,3 +41,3 @@ const testers_1 = __importDefault(require("./testers")); | ||
} | ||
exports.default = FirebaseAppDistribution; | ||
exports.FirebaseAppDistribution = FirebaseAppDistribution; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
import FirebaseAppDistribution from "."; | ||
import { FirebaseAppDistribution } from "."; | ||
export interface Tester { | ||
@@ -3,0 +3,0 @@ name: string; |
{ | ||
"name": "firebase-app-distribution", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "A library that uses Firebase App Distribution APIs.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1,2 +0,2 @@ | ||
# Firebase App Distibution | ||
# Firebase App Distibution [![npm](https://img.shields.io/npm/v/firebase-app-distribution)](https://www.npmjs.com/package/firebase-app-distribution) [![npm](https://img.shields.io/npm/dt/firebase-app-distribution)](https://www.npmjs.com/package/firebase-app-distribution?activeTab=versions) | ||
@@ -3,0 +3,0 @@ A NodeJS library used to access [Firebase App Distribution APIs](https://firebase.google.com/docs/reference/app-distribution/rest). |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31329
432