@stacks/profile
Advanced tools
Comparing version 6.14.1-next.63 to 6.14.1-next.69
@@ -1,2 +0,2 @@ | ||
import { ApiParam } from '@stacks/common'; | ||
import { ClientParam } from '@stacks/common'; | ||
import { PublicPersonProfile } from './types'; | ||
@@ -55,2 +55,2 @@ export declare class Profile { | ||
publicKeyOrAddress: string; | ||
} & ApiParam): Promise<Record<string, any>>; | ||
} & ClientParam): Promise<Record<string, any>>; |
@@ -6,3 +6,3 @@ import { extractProfile, signProfileToken } from './profileTokens'; | ||
import * as inspector from 'schema-inspector'; | ||
import { Logger, defaultApiLike } from '@stacks/common'; | ||
import { Logger, defaultClientOpts } from '@stacks/common'; | ||
const schemaDefinition = { | ||
@@ -246,3 +246,3 @@ type: 'object', | ||
export function resolveZoneFileToProfile(opts) { | ||
const api = defaultApiLike(opts.api); | ||
const api = defaultClientOpts(opts.client); | ||
return new Promise((resolve, reject) => { | ||
@@ -249,0 +249,0 @@ let zoneFileJson = null; |
@@ -1,2 +0,2 @@ | ||
import { ApiParam } from '@stacks/common'; | ||
import { ClientParam } from '@stacks/common'; | ||
import { PublicPersonProfile } from './types'; | ||
@@ -55,2 +55,2 @@ export declare class Profile { | ||
publicKeyOrAddress: string; | ||
} & ApiParam): Promise<Record<string, any>>; | ||
} & ClientParam): Promise<Record<string, any>>; |
@@ -275,3 +275,3 @@ "use strict"; | ||
function resolveZoneFileToProfile(opts) { | ||
const api = (0, common_1.defaultApiLike)(opts.api); | ||
const api = (0, common_1.defaultClientOpts)(opts.client); | ||
return new Promise((resolve, reject) => { | ||
@@ -278,0 +278,0 @@ let zoneFileJson = null; |
{ | ||
"name": "@stacks/profile", | ||
"version": "6.14.1-next.63+95d4e196", | ||
"version": "6.14.1-next.69+f5e43ce6", | ||
"description": "Library for Stacks profiles", | ||
@@ -23,5 +23,5 @@ "license": "MIT", | ||
"dependencies": { | ||
"@stacks/common": "^6.14.1-next.63+95d4e196", | ||
"@stacks/network": "^6.14.1-next.63+95d4e196", | ||
"@stacks/transactions": "^6.14.1-next.63+95d4e196", | ||
"@stacks/common": "^6.14.1-next.69+f5e43ce6", | ||
"@stacks/network": "^6.14.1-next.69+f5e43ce6", | ||
"@stacks/transactions": "^6.14.1-next.69+f5e43ce6", | ||
"jsontokens": "^4.0.1", | ||
@@ -61,3 +61,3 @@ "schema-inspector": "^2.0.2", | ||
}, | ||
"gitHead": "95d4e196cce6322c4cf7f2435ebc25a85e320498" | ||
"gitHead": "f5e43ce648e407995a1736e4f15ef3406e0c56c6" | ||
} |
@@ -25,3 +25,3 @@ import { extractProfile, signProfileToken } from './profileTokens'; | ||
import { ApiParam, Logger, defaultApiLike } from '@stacks/common'; | ||
import { ClientParam, Logger, defaultClientOpts } from '@stacks/common'; | ||
import { PublicPersonProfile } from './types'; | ||
@@ -344,5 +344,5 @@ | ||
publicKeyOrAddress: string; | ||
} & ApiParam | ||
} & ClientParam | ||
): Promise<Record<string, any>> { | ||
const api = defaultApiLike(opts.api); | ||
const api = defaultClientOpts(opts.client); | ||
@@ -349,0 +349,0 @@ return new Promise((resolve, reject) => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
1127858