New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@stacks/profile

Package Overview
Dependencies
Maintainers
0
Versions
660
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stacks/profile - npm Package Compare versions

Comparing version 6.14.1-pr.68 to 6.14.1-pr.78

4

dist/esm/profile.d.ts

@@ -1,2 +0,2 @@

import { ClientParam } from '@stacks/common';
import { NetworkClientParam } from '@stacks/network';
import { PublicPersonProfile } from './types';

@@ -55,2 +55,2 @@ export declare class Profile {

publicKeyOrAddress: string;
} & ClientParam): Promise<Record<string, any>>;
} & NetworkClientParam): Promise<Record<string, any>>;

@@ -6,3 +6,4 @@ import { extractProfile, signProfileToken } from './profileTokens';

import * as inspector from 'schema-inspector';
import { Logger, defaultClientOpts } from '@stacks/common';
import { Logger } from '@stacks/common';
import { clientFromNetwork, networkFrom } from '@stacks/network';
const schemaDefinition = {

@@ -246,3 +247,4 @@ type: 'object',

export function resolveZoneFileToProfile(opts) {
const api = defaultClientOpts(opts.client);
const network = networkFrom(opts.network ?? 'mainnet');
const client = Object.assign({}, clientFromNetwork(network), opts.client);
return new Promise((resolve, reject) => {

@@ -272,3 +274,3 @@ let zoneFileJson = null;

if (tokenFileUrl) {
api
client
.fetch(tokenFileUrl)

@@ -275,0 +277,0 @@ .then(response => response.text())

@@ -1,2 +0,2 @@

import { ClientParam } from '@stacks/common';
import { NetworkClientParam } from '@stacks/network';
import { PublicPersonProfile } from './types';

@@ -55,2 +55,2 @@ export declare class Profile {

publicKeyOrAddress: string;
} & ClientParam): Promise<Record<string, any>>;
} & NetworkClientParam): Promise<Record<string, any>>;

@@ -33,2 +33,3 @@ "use strict";

const common_1 = require("@stacks/common");
const network_1 = require("@stacks/network");
const schemaDefinition = {

@@ -276,3 +277,4 @@ type: 'object',

function resolveZoneFileToProfile(opts) {
const api = (0, common_1.defaultClientOpts)(opts.client);
const network = (0, network_1.networkFrom)(opts.network ?? 'mainnet');
const client = Object.assign({}, (0, network_1.clientFromNetwork)(network), opts.client);
return new Promise((resolve, reject) => {

@@ -302,3 +304,3 @@ let zoneFileJson = null;

if (tokenFileUrl) {
api
client
.fetch(tokenFileUrl)

@@ -305,0 +307,0 @@ .then(response => response.text())

{
"name": "@stacks/profile",
"version": "6.14.1-pr.68+9f9cb5d0",
"version": "6.14.1-pr.78+8cf2e30c",
"description": "Library for Stacks profiles",

@@ -23,5 +23,5 @@ "license": "MIT",

"dependencies": {
"@stacks/common": "^6.14.1-pr.68+9f9cb5d0",
"@stacks/network": "^6.14.1-pr.68+9f9cb5d0",
"@stacks/transactions": "^6.14.1-pr.68+9f9cb5d0",
"@stacks/common": "^6.14.1-pr.78+8cf2e30c",
"@stacks/network": "^6.14.1-pr.78+8cf2e30c",
"@stacks/transactions": "^6.14.1-pr.78+8cf2e30c",
"jsontokens": "^4.0.1",

@@ -61,3 +61,3 @@ "schema-inspector": "^2.0.2",

},
"gitHead": "9f9cb5d01deb8b166278da106238bd2443e91e43"
"gitHead": "8cf2e30c3d75ee42c85716df848b132d0ab28c6e"
}

@@ -25,3 +25,4 @@ import { extractProfile, signProfileToken } from './profileTokens';

import { ClientParam, Logger, defaultClientOpts } from '@stacks/common';
import { Logger } from '@stacks/common';
import { NetworkClientParam, clientFromNetwork, networkFrom } from '@stacks/network';
import { PublicPersonProfile } from './types';

@@ -344,5 +345,6 @@

publicKeyOrAddress: string;
} & ClientParam
} & NetworkClientParam
): Promise<Record<string, any>> {
const api = defaultClientOpts(opts.client);
const network = networkFrom(opts.network ?? 'mainnet');
const client = Object.assign({}, clientFromNetwork(network), opts.client);

@@ -372,3 +374,3 @@ return new Promise((resolve, reject) => {

if (tokenFileUrl) {
api
client
.fetch(tokenFileUrl)

@@ -375,0 +377,0 @@ .then(response => response.text())

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

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