Skip to content

Commit 3550c9d

Browse files
add copyright comments to .js|.jsx (#4)
1 parent 297436f commit 3550c9d

File tree

11 files changed

+113
-1
lines changed

11 files changed

+113
-1
lines changed

index.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/* --------------------------------------------------------------------------------
2+
* Created on Wed Oct 16 2024
3+
*
4+
* Copyright (c) 2024 Colorado State University. All rights reserved. (1)
5+
*
6+
* Contributors:
7+
* Mackenzie Grimes (1)
8+
*
9+
* --------------------------------------------------------------------------------
10+
*/
11+
112
import MuppetChannel from './src/MuppetChannel';
213
import { MuppetProvider } from './src/MuppetProvider';
314
import { getAndSaveSessionId, getSessionId } from './src/session';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@noaa-gsl/idsse-muppet",
3-
"version": "0.0.11",
3+
"version": "0.0.12",
44
"description": "Connect to, send, and receive data over MUPPET data channels in convenient React interfaces using the MUPPETs protocol",
55
"main": "index.js",
66
"scripts": {

src/MuppetChannel.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
1+
/* --------------------------------------------------------------------------------
2+
* Created on Wed Oct 16 2024
3+
*
4+
* Copyright (c) 2024 Colorado State University. All rights reserved. (1)
5+
*
6+
* Contributors:
7+
* Mackenzie Grimes (1)
8+
*
9+
* --------------------------------------------------------------------------------
10+
*/
111
/* eslint-disable no-console */
12+
213
import { io } from 'socket.io-client';
314
import { subscribeToTimeout } from './utils';
415

src/MuppetProvider.jsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/* --------------------------------------------------------------------------------
2+
* Created on Tues Nov 5 2024
3+
*
4+
* Copyright (c) 2024 Colorado State University. All rights reserved. (1)
5+
*
6+
* Contributors:
7+
* Mackenzie Grimes (1)
8+
*
9+
* --------------------------------------------------------------------------------
10+
*/
11+
112
import { createContext, useEffect, useState } from 'react';
213

314
import MuppetChannel from './MuppetChannel';

src/hooks/useMuppetCallback.jsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/* --------------------------------------------------------------------------------
2+
* Created on Tue Nov 5 2024
3+
*
4+
* Copyright (c) 2024 Colorado State University. All rights reserved. (1)
5+
*
6+
* Contributors:
7+
* Mackenzie Grimes (1)
8+
*
9+
* --------------------------------------------------------------------------------
10+
*/
11+
112
import { useEffect, useState } from 'react';
213

314
import useMuppetChannel from './useMuppetChannel';

src/hooks/useMuppetChannel.jsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/* --------------------------------------------------------------------------------
2+
* Created on Wed Oct 16 2024
3+
*
4+
* Copyright (c) 2024 Colorado State University. All rights reserved. (1)
5+
*
6+
* Contributors:
7+
* Mackenzie Grimes (1)
8+
*
9+
* --------------------------------------------------------------------------------
10+
*/
11+
112
import { useContext } from 'react';
213

314
import { MuppetContext } from '../MuppetProvider';

src/hooks/useMuppetChannels.jsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/* --------------------------------------------------------------------------------
2+
* Created on Wed Nov 6 2024
3+
*
4+
* Copyright (c) 2024 Colorado State University. All rights reserved. (1)
5+
*
6+
* Contributors:
7+
* Mackenzie Grimes (1)
8+
*
9+
* --------------------------------------------------------------------------------
10+
*/
11+
112
import { useContext } from 'react';
213

314
import { MuppetContext } from '../MuppetProvider';

src/session.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/* --------------------------------------------------------------------------------
2+
* Created on Wed Oct 16 2024
3+
*
4+
* Copyright (c) 2024 Colorado State University. All rights reserved. (1)
5+
*
6+
* Contributors:
7+
* Mackenzie Grimes (1)
8+
*
9+
* --------------------------------------------------------------------------------
10+
*/
11+
112
import { getDeviceFingerprint } from './utils';
213

314
/**

src/session.test.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/* --------------------------------------------------------------------------------
2+
* Created on Fri Jan 24 2025
3+
*
4+
* Copyright (c) 2025 Colorado State University. All rights reserved. (1)
5+
*
6+
* Contributors:
7+
* Mackenzie Grimes (1)
8+
*
9+
* --------------------------------------------------------------------------------
10+
*/
11+
112
import { describe, it, expect, beforeEach, vi, afterEach } from 'vitest';
213
import { getSessionId, setSessionId, clearSessionId } from './session';
314

src/utils.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
/* --------------------------------------------------------------------------------
2+
* Created on Wed Oct 16 2024
3+
*
4+
* Copyright (c) 2024 Colorado State University. All rights reserved. (1)
5+
*
6+
* Contributors:
7+
* Mackenzie Grimes (1)
8+
*
9+
* --------------------------------------------------------------------------------
10+
*/
11+
112
import * as ThumbmarkJS from '@thumbmarkjs/thumbmarkjs';
213

314
// utility to simulate attempting a network call. To be deleted

0 commit comments

Comments
 (0)