Skip to content

Commit

Permalink
chore:cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatAlexPalmer committed May 26, 2024
1 parent 9a0b1b9 commit 78cdad8
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 17 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) [2023] [thatalexpalmer.eth]
Copyright (c) [2024] [thatalexpalmer.eth]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This repo is based on the [Open Cap Table Coalition](https://github.com/Open-Cap

## Contributing

We welcome all contributions. Please give a quick read to our [CONTRIBUTING](./CONTRIBUTING.md) guidelines to understand the them and the process.
We welcome all contributions. Please give a quick read to our [CONTRIBUTING](./CONTRIBUTING.md) guidelines before submiting new PRs!

## License

Expand Down
6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "tap-cap-table",
"version": "1.0.0-alpha.0",
"version": "1.0.0",
"private": true,
"author": "Alex Palmer, Victor Mimo",
"author": "thatalexpalmer.eth",
"license": "MIT",
"description": "Transfer Agent Protocol onchain cap table",
"type": "module",
Expand All @@ -22,8 +22,6 @@
"test": "cd chain && forge test",
"test-js": "jest --testPathPattern src/tests/unit",
"test-js-integration": "jest --testPathPattern src/tests/integration",
"validate-poet-files": "cd ocf && yarn validate-poet-files",
"export-manifest": "cd src/db/samples && zip -r notPoet.zip notPoet && mv notPoet.zip $HOME/Downloads"
},
"dependencies": {
"ajv": "^8.12.0",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 7 additions & 7 deletions src/scripts/sampleData.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,23 +148,23 @@ export const stakeholder2 = (issuerId) => {
issuerId,
data: {
name: {
legal_name: "Victor Mimo",
first_name: "Victor",
last_name: "Mimo",
legal_name: "Alex Fong",
first_name: "Alex",
last_name: "Fong",
},
issuer_assigned_id: "",
stakeholder_type: "INDIVIDUAL",
current_relationship: "EMPLOYEE",
// "primary_contact": {
// "name": {
// "legal_name": "Victor Mimo",
// "first_name": "Victor",
// "last_name": "Mimo"
// "legal_name": "Alex Fong",
// "first_name": "Alex",
// "last_name": "Fong"
// },
// "emails": [
// {
// "email_type": "PERSONAL",
// "email_address": "[email protected]"
// "email_address": "[email protected]"
// }
// ],
// "phone_numbers": []
Expand Down
6 changes: 3 additions & 3 deletions src/state-machines/test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import processSM from "./process.js";
import transactions from "../../src/db/samples/notPoet/Transactions.ocf.json" assert { type: "json" };
import manifest from "../../src/db/samples/notPoet/Manifest.ocf.json" assert { type: "json" };
import stockClasses from "../../src/db/samples/notPoet/StockClasses.ocf.json" assert { type: "json" };
import transactions from "../../src/db/samples/data/Transactions.ocf.json" assert { type: "json" };
import manifest from "../../src/db/samples/data/Manifest.ocf.json" assert { type: "json" };
import stockClasses from "../../src/db/samples/data/StockClasses.ocf.json" assert { type: "json" };

processSM(manifest.issuer, transactions, stockClasses);
2 changes: 1 addition & 1 deletion src/tests/integration/transactionPoller.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const checkRecs = async (issuerId) => {
portions.sort((a, b) => b.quantity - a.quantity);
expect(portions).toStrictEqual([
{ quantity: 300, sharePrice: 9.35, name: "Kent Kolze" },
{ quantity: 200, sharePrice: 4.2, name: "Victor Mimo" },
{ quantity: 200, sharePrice: 4.2, name: "Alex Fong" },
]);
};

Expand Down

0 comments on commit 78cdad8

Please sign in to comment.