Skip to content

Commit

Permalink
style: rename name in logger
Browse files Browse the repository at this point in the history
  • Loading branch information
piquark6046 committed Aug 29, 2023
1 parent 3bfdec5 commit 1e5cc15
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sources/src/interceptors/network.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {useAsSourceFeedback, useDebug, useDisableMethod, useSwapMethod} from '../utils';

const debug = useDebug('[asdefuser:networkInterceptor]');
const debug = useDebug('[microShield:networkInterceptor]');

export const useNetworkInterceptor = () => {
useDisableMethod(window, 'fetch');
Expand Down
2 changes: 1 addition & 1 deletion sources/src/loaders/basera1n.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as asKit from '../adshield-defuser-libs/basera1n';
import {useDebug, useDisableMethod, useDocumentReady} from '../utils.js';

const debug = useDebug('[asdefuser:basera1n]');
const debug = useDebug('[microShield:basera1n]');

const extract = async () => {
let data: string | undefined;
Expand Down
2 changes: 1 addition & 1 deletion sources/src/loaders/baseshower.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as asKit from '../adshield-defuser-libs/baseshower';
import {useDebug, useDisableMethod, useDocumentReady} from '../utils.js';

const debug = useDebug('[asdefuser:baseshower]');
const debug = useDebug('[microShield:baseshower]');

const extract = async () => {
let data: string | undefined;
Expand Down
2 changes: 1 addition & 1 deletion sources/src/loaders/shortwave.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {ProtobufWireTypes} from '../adshield-defuser-libs/protobuf';
import * as cache from '../__generated__/shortwave.cache.js';
import {useDebug, useDisableMethod, useDocumentReady} from '../utils.js';

const debug = useDebug('[asdefuser:shortwave]');
const debug = useDebug('[microShield:shortwave]');

const extract = async () => {
let source: {
Expand Down
2 changes: 1 addition & 1 deletion sources/src/loaders/ztinywave.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {useDebug, useDisableMethod, useDocumentReady} from '../utils.js';

type Data = Array<{tags: string}>;

const debug = useDebug('[asdefuser:tinywave]');
const debug = useDebug('[microShield:ztinywave]');

const decode = (payload: string) => {
const id = payload.slice(0, 4);
Expand Down
2 changes: 1 addition & 1 deletion sources/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const useDebug = (namespace: string) => new Proxy(console.debug, {
},
});

const debug = useDebug('[asdefuser:__utils__]');
const debug = useDebug('[microShield:utils]');

export const secret = Math.random().toString(36).slice(2);

Expand Down

0 comments on commit 1e5cc15

Please sign in to comment.